knip
Version:
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
22 lines (21 loc) • 855 B
TypeScript
import { ISSUE_TYPE_TITLE } from '../constants.js';
import type { Issue, IssueSeverity, IssueSymbol } from '../types/issues.js';
export declare const identity: (text: string) => string;
export declare const getTitle: (reportType: keyof typeof ISSUE_TYPE_TITLE) => string;
export declare const logTitle: (title: string, count: number) => void;
type LogIssueLine = {
owner?: string;
filePath: string;
symbols?: IssueSymbol[];
parentSymbol?: string;
severity?: IssueSeverity;
};
export declare const logIssueLine: ({ owner, filePath, symbols, parentSymbol, severity }: LogIssueLine) => void;
export declare const logIssueSet: (issues: string[]) => void;
export declare const convert: (issue: Issue | IssueSymbol) => {
name: string;
line: number | undefined;
col: number | undefined;
pos: number | undefined;
};
export {};