Files
openclaw/scripts/check-deadcode-exports.d.mts
T
Peter SteinbergerandGitHub 9497450511 refactor: eliminate dead-export baseline (#108376)
Burn the grandfathered unused-export baseline to zero and enforce a hard-zero Knip gate.
2026-07-15 17:05:07 +01:00

14 lines
530 B
TypeScript

/** Parses compact Knip export sections into one path-and-symbol entry per finding. */
export function parseKnipCompactUnusedExports(output: string): string[];
/** Parses compact Knip export sections and reports whether Knip emitted one. */
export function parseKnipCompactUnusedExportsResult(output: string): {
entries: string[];
sawExportSection: boolean;
};
/** Rejects every unused export reported by Knip. */
export function checkUnusedExports(output: string): {
ok: boolean;
entries: string[];
message: string;
};