File tree Expand file tree Collapse file tree 3 files changed +49
-4
lines changed Expand file tree Collapse file tree 3 files changed +49
-4
lines changed Original file line number Diff line number Diff line change 11import c0Controls from './c0_controls.ts' ;
22import c1Controls from './c1_controls.ts' ;
3+ import controls from './controls.ts' ;
34
45import type { C0Control } from './c0_controls.ts' ;
56import type { C1Control } from './c1_controls.ts' ;
67import type { Control } from './controls.ts' ;
78
89export default {
910 c0Controls,
10- c1Controls
11+ c1Controls,
12+ controls
1113}
1214
1315export type {
Original file line number Diff line number Diff line change 1+ import colors from './colors.ts' ;
2+ import fonts from './fonts.ts' ;
3+ import formats from './format.ts' ;
4+ import ideograms from './ideograms.ts' ;
5+ import scripts from './scripts.ts' ;
6+ import textDecorations from './text_decoreations.ts' ;
7+
8+ import type { Color } from './colors.ts' ;
9+ import type { Font } from './fonts.ts' ;
10+ import type { Format } from './format.ts' ;
11+ import type { Ideogram } from './ideograms.ts' ;
12+ import type { Script } from './scripts.ts' ;
13+ import type { TextDecoration } from './text_decoreations.ts' ;
14+
15+ export default {
16+ colors,
17+ fonts,
18+ formats,
19+ ideograms,
20+ scripts,
21+ textDecorations
22+ }
23+
24+ export type {
25+ Color ,
26+ Font ,
27+ Format ,
28+ Ideogram ,
29+ Script ,
30+ TextDecoration
31+ }
Original file line number Diff line number Diff line change 11import colors from './colors/mod.ts'
22import controls from './controls/mod.ts'
3- import formats from "./formats/format .ts" ;
3+ import formats from "./formats/mod .ts" ;
44
55import type {
66 Bit4BackgroundColor ,
@@ -14,7 +14,14 @@ import type {
1414 C1Control ,
1515 Control
1616} from "./controls/mod.ts" ;
17- import type { Format } from "./formats/format.ts" ;
17+ import type {
18+ Color ,
19+ Font ,
20+ Format ,
21+ Ideogram ,
22+ Script ,
23+ TextDecoration
24+ } from "./formats/mod.ts" ;
1825
1926export const ansi = {
2027 colors,
@@ -31,5 +38,10 @@ export type {
3138 C0Control ,
3239 C1Control ,
3340 Control ,
34- Format
41+ Color ,
42+ Font ,
43+ Format ,
44+ Ideogram ,
45+ Script ,
46+ TextDecoration
3547}
You can’t perform that action at this time.
0 commit comments