File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11import { NumberRange } from "../../type/mod.ts" ;
22
33/**
4- * .
4+ * This interface represents a 24 bit color .
55 */
66export interface Bit24Color {
77 red : NumberRange < 0 , 255 > ,
Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ export default bit4Colors;
4545/**
4646 * This type gets generated from the values of {@linkcode bit4Colors}.
4747 */
48- export type Bit4Color = ValuesFromObject < typeof bit4Colors > ;
48+ export type Bit4ColorValue = ValuesFromObject < typeof bit4Colors > ;
Original file line number Diff line number Diff line change @@ -255,4 +255,4 @@ export default bit8Colors;
255255/**
256256 * This type gets generated from the values of {@linkcode bit4Colors}.
257257 */
258- export type Bit8Color = ValuesFromObject < typeof bit8Colors > ;
258+ export type Bit8ColorValue = ValuesFromObject < typeof bit8Colors > ;
Original file line number Diff line number Diff line change 1- import c0Controls , { C0Control } from "./c0_controls.ts" ;
2- import c1Controls , { C1Control } from "./c1_controls.ts" ;
1+ import c0Controls , { C0ControlValue } from "./c0_controls.ts" ;
2+ import c1Controls , { C1ControlValue } from "./c1_controls.ts" ;
33
44/**
55 * This object contains all ANSI control codes.
@@ -14,4 +14,4 @@ const allControls = {
1414
1515export default allControls ;
1616
17- export type AllControl = C0Control | C1Control ;
17+ export type AllControl = C0ControlValue | C1ControlValue ;
Original file line number Diff line number Diff line change @@ -83,5 +83,5 @@ export default c0Controls;
8383/**
8484 * This type gets generated from the values of {@linkcode c0Controls}.
8585 */
86- export type C0Control = ValuesFromObject < typeof c0Controls > ;
86+ export type C0ControlValue = ValuesFromObject < typeof c0Controls > ;
8787
Original file line number Diff line number Diff line change @@ -79,5 +79,5 @@ export default c1Controls;
7979/**
8080 * This type gets generated from the values of {@linkcode c1Controls}.
8181 */
82- export type C1Control = ValuesFromObject < typeof c1Controls > ;
82+ export type C1ControlValue = ValuesFromObject < typeof c1Controls > ;
8383
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import bit4Colors from "./color/bit4_colors.ts";
55import bit8Colors from "./color/bit8_colors.ts" ;
66import formats from "./format/format.ts" ;
77
8- import { C0Control } from "./control/c0_controls.ts" ;
9- import { C1Control } from "./control/c1_controls.ts" ;
8+ import { C0ControlValue } from "./control/c0_controls.ts" ;
9+ import { C1ControlValue } from "./control/c1_controls.ts" ;
1010import { AllControl } from "./control/all_controls.ts" ;
11- import { Bit4Color } from "./color/bit4_colors.ts" ;
12- import { Bit8Color } from "./color/bit8_colors.ts" ;
11+ import { Bit4ColorValue } from "./color/bit4_colors.ts" ;
12+ import { Bit8ColorValue } from "./color/bit8_colors.ts" ;
1313import { Format } from "./format/format.ts" ;
1414
1515export {
@@ -22,10 +22,10 @@ export {
2222}
2323
2424export type {
25- C0Control ,
26- C1Control ,
25+ C0ControlValue ,
26+ C1ControlValue ,
2727 AllControl ,
28- Bit4Color ,
29- Bit8Color ,
28+ Bit4ColorValue ,
29+ Bit8ColorValue ,
3030 Format
3131}
You can’t perform that action at this time.
0 commit comments