Skip to content

Commit bc3215e

Browse files
authored
feat(ansi): add name key to normal & bright objects (#108)
1 parent 2fa1506 commit bc3215e

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

mod.ts

+5
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ export type AnsiColorGroups = Readonly<{
242242
}>;
243243

244244
export type AnsiColorFormat = Readonly<{
245+
/**
246+
* Name of the ANSI group.
247+
*/
248+
name: string;
249+
245250
/**
246251
* String-formatted hex value.
247252
* @example "#babbf1"

0 commit comments

Comments
 (0)