Move micromark-parse.mjs from helpers to library, remove all dependencies from helpers.

This commit is contained in:
David Anson 2024-11-30 20:42:14 -08:00
parent 1e71f6f44e
commit 3599f694ba
7 changed files with 6 additions and 14 deletions

11
lib/micromark-types.d.mts Normal file
View file

@ -0,0 +1,11 @@
export {};
// Augment TokenTypeMap with markdownlint-specific types.
declare module "micromark-util-types" {
export interface TokenTypeMap {
undefinedReference: "undefinedReference"
undefinedReferenceCollapsed: "undefinedReferenceCollapsed"
undefinedReferenceFull: "undefinedReferenceFull"
undefinedReferenceShortcut: "undefinedReferenceShortcut"
}
}