Skip to content

Commit

Permalink
Update imports from markdown-it module to use ESM.
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelalozano16 committed Apr 23, 2024
1 parent 69cbf72 commit 0594eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import MarkdownIt = require('markdown-it');
import Token = require('markdown-it/lib/token');
import State = require('markdown-it/lib/rules_core/state_core');
import Token from 'markdown-it/lib/token.mjs';
import State from 'markdown-it/lib/rules_core/state_core.mjs';

declare namespace anchor {
export type RenderHref = (slug: string, state: State) => string;
Expand Down

0 comments on commit 0594eaa

Please sign in to comment.