GoScrobble/web/node_modules/fork-ts-checker-webpack-plugin/lib/issue/IssueOrigin.d.ts

10 lines
430 B
TypeScript

declare const IssueOrigin: {
readonly TYPESCRIPT: "typescript";
readonly ESLINT: "eslint";
readonly INTERNAL: "internal";
};
declare type IssueOrigin = typeof IssueOrigin[keyof typeof IssueOrigin];
declare function isIssueOrigin(value: unknown): value is IssueOrigin;
declare function compareIssueOrigins(originA: IssueOrigin, originB: IssueOrigin): number;
export { IssueOrigin, isIssueOrigin, compareIssueOrigins };