mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix: markdown-it helper parseLinkLabel argument state type (#44223)
* fix(markdown-it): fix helper parseLinkLabel argument state type * test(markdown-it): change test due to helper parseLinkLabel update * chore(markdown-it): correct url for contributors
This commit is contained in:
parent
cb19b1b382
commit
f3aef183cc
2
types/markdown-it/index.d.ts
vendored
2
types/markdown-it/index.d.ts
vendored
@ -1,6 +1,6 @@
|
||||
// Type definitions for markdown-it v10.0.0
|
||||
// Project: https://github.com/markdown-it/markdown-it
|
||||
// Definitions by: York Yao <https://github.com/plantain-00/>
|
||||
// Definitions by: York Yao <https://github.com/plantain-00>
|
||||
// Robert Coie <https://github.com/rapropos>
|
||||
// duduluu <https://github.com/duduluu>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user