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:
David Anson 2024-12-10 21:47:06 -08:00
parent 6737ace933
commit 8b26129d55
3 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,4 @@
export {};
declare module "markdownlint" {
export * from "./exports.mjs";
}