knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
9 lines (8 loc) • 438 B
TypeScript
import type { CompilerSync } from './types.ts';
export declare const fencedCodeBlockMatcher: RegExp;
export declare const inlineCodeMatcher: RegExp;
export declare const importMatcher: RegExp;
export declare const importsWithinScripts: CompilerSync;
export declare const scriptBodies: CompilerSync;
export declare const frontmatterMatcher: RegExp;
export declare const importsWithinFrontmatter: (text: string, keys?: string[]) => string;