mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Convert types.d.mts from ambient module declaration to module augmentation which enables VS Code to handle @type {import("markdownlint").Rule} (https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules), fix broken markdownlint @typedefs in helpers/*.cjs.
This commit is contained in:
parent
6737ace933
commit
8b26129d55
3 changed files with 5 additions and 4 deletions
|
|
@ -1,3 +1,4 @@
|
|||
export {};
|
||||
declare module "markdownlint" {
|
||||
export * from "./exports.mjs";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue