diff --git a/types/markdown-it/index.d.ts b/types/markdown-it/index.d.ts index 38b205a785..e4b46fb49a 100644 --- a/types/markdown-it/index.d.ts +++ b/types/markdown-it/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for markdown-it v10.0.0 // Project: https://github.com/markdown-it/markdown-it -// Definitions by: York Yao +// Definitions by: York Yao // Robert Coie // duduluu // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/types/markdown-it/lib/helpers/parse_link_label.d.ts b/types/markdown-it/lib/helpers/parse_link_label.d.ts index fe13c48bd4..4fa71ff180 100644 --- a/types/markdown-it/lib/helpers/parse_link_label.d.ts +++ b/types/markdown-it/lib/helpers/parse_link_label.d.ts @@ -1,5 +1,5 @@ -import State = require('../rules_core/state_core'); +import StateInline = require('../rules_inline/state_inline'); -declare function parseLinkLabel(state: State, start: number, disableNested?: boolean): number; +declare function parseLinkLabel(state: StateInline, start: number, disableNested?: boolean): number; export = parseLinkLabel; diff --git a/types/markdown-it/test/helpers/index.ts b/types/markdown-it/test/helpers/index.ts index b5750d2614..3e22b41b3c 100644 --- a/types/markdown-it/test/helpers/index.ts +++ b/types/markdown-it/test/helpers/index.ts @@ -1,7 +1,7 @@ -import State = require('markdown-it/lib/rules_core/state_core'); +import StateInline = require('markdown-it/lib/rules_inline/state_inline'); import helpers = require('markdown-it/lib/helpers'); -declare const state: State; +declare const state: StateInline; helpers.parseLinkLabel(state, 0, true); helpers.parseLinkDestination('https://github.com/markdown-it/markdown-it', 0, 3);