IssueOrigin.d.ts 430 B

123456789
  1. declare const IssueOrigin: {
  2. readonly TYPESCRIPT: "typescript";
  3. readonly ESLINT: "eslint";
  4. readonly INTERNAL: "internal";
  5. };
  6. declare type IssueOrigin = typeof IssueOrigin[keyof typeof IssueOrigin];
  7. declare function isIssueOrigin(value: unknown): value is IssueOrigin;
  8. declare function compareIssueOrigins(originA: IssueOrigin, originB: IssueOrigin): number;
  9. export { IssueOrigin, isIssueOrigin, compareIssueOrigins };