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