UNPKG

typescript-docs-verifier

Version:

Verifies that typescript examples in markdown files actually compile.

12 lines (11 loc) 326 B
export declare const CodeBlockExtractor: { extract: (markdownFilePath: string) => Promise<{ code: string; type: "tsx" | "ts"; }[]>; readFile: (path: string) => Promise<string>; extractCodeBlocksFromMarkdown: (markdown: string) => { code: string; type: "tsx" | "ts"; }[]; };