UNPKG

zeta-icon-name-checker

Version:

A utility used to check the validity of icon and category names in the Zeta Icon Library.

20 lines (19 loc) 420 B
export declare enum ErrorType { none = 0, iconRenamed = 1, invalidChar = 2, startsWithNumber = 3, reservedWord = 4 } export declare enum ErrorSeverity { none = 0, medium = 1, high = 2 } export declare class ZetaIconError { type: ErrorType; message: string; severity: ErrorSeverity; newName?: string; constructor(type: ErrorType, iconName: string, newName?: string); }