Update markdownlint-micromark to version 0.1.12 (exports labelEnd, additional types, and adds custom TokenTypes).

This commit is contained in:
David Anson 2024-10-21 20:19:42 -07:00
parent fea5d886b7
commit 36aaebbf44
4 changed files with 22 additions and 5 deletions

View file

@ -333,7 +333,7 @@ declare type CompileOptions_2 = CompileOptions
/**
* An object describing how to parse a markdown construct.
*/
declare type Construct = {
export declare type Construct = {
/**
* Set up a state machine to handle character codes streaming in.
*/
@ -1200,7 +1200,7 @@ context: TokenizeContext
* @returns
* Next state.
*/
declare type State = (code: Code) => State | undefined
export declare type State = (code: Code) => State | undefined
/**
* A token: a span of chunks.
@ -1490,7 +1490,7 @@ declare interface TokenizeContext {
* @returns
* First state.
*/
declare type Tokenizer = (
export declare type Tokenizer = (
this: TokenizeContext,
effects: Effects,
ok: State,
@ -1747,3 +1747,12 @@ export declare interface TokenTypeMap {
mathTextPadding: 'mathTextPadding'
mathTextSequence: 'mathTextSequence'
}
// Source: Custom types generated by markdownlint in getEvents
export declare interface TokenTypeMap {
undefinedReference: 'undefinedReference'
undefinedReferenceCollapsed: 'undefinedReferenceCollapsed'
undefinedReferenceFull: 'undefinedReferenceFull'
undefinedReferenceShortcut: 'undefinedReferenceShortcut'
}