fix(build): add ansi-256-colors type declarations and update build configuration

This commit is contained in:
2026-05-01 15:57:56 +00:00
parent 047e994439
commit 38f8ca4e78
10 changed files with 3704 additions and 3293 deletions
+14
View File
@@ -0,0 +1,14 @@
declare module 'ansi-256-colors' {
export interface IAnsi256ColorSet {
codes: string[];
standard: string[];
bright: string[];
rgb: string[];
grayscale: string[];
getRgb(r: number, g: number, b: number): string;
}
export const fg: IAnsi256ColorSet;
export const bg: IAnsi256ColorSet;
export const reset: string;
}