kjelsrud.dev/node_modules/micromark-extension-gfm-strikethrough/dev/index.d.ts

13 lines
463 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
export {gfmStrikethroughHtml} from './lib/html.js'
export {gfmStrikethrough, type Options} from './lib/syntax.js'
declare module 'micromark-util-types' {
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
interface TokenTypeMap {
strikethroughSequence: 'strikethroughSequence'
strikethroughSequenceTemporary: 'strikethroughSequenceTemporary'
strikethrough: 'strikethrough'
strikethroughText: 'strikethroughText'
}
}