kjelsrud.dev/node_modules/remark-parse/index.d.ts

10 lines
339 B
TypeScript
Raw Normal View History

2023-07-19 21:31:30 +02:00
// This wrapper exists because JS in TS cant export a `@type` of a function.
import type {Root} from 'mdast'
import type {Plugin} from 'unified'
import type {Options} from './lib/index.js'
declare const remarkParse: Plugin<[(Options | undefined)?], string, Root>
export default remarkParse
export type {Options} from './lib/index.js'