UNPKG

typescript-docs-verifier

Version:

Verifies that typescript examples in markdown files actually compile.

11 lines (10 loc) 319 B
export declare class CodeBlockExtractor { static readonly TYPESCRIPT_CODE_PATTERN: RegExp; private constructor(); static extract(markdownFilePath: string): Promise<{ code: string; type: "tsx" | "ts"; }[]>; private static readFile; private static extractCodeBlocksFromMarkdown; }