Skip to content

Commit 2d14cf0

Browse files
committed
fix: return isColorSupported in getDefaultColors
1 parent 49bbafe commit 2d14cf0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ string.open = ''
6767
string.close = ''
6868

6969
export function getDefaultColors(): Colors {
70-
const defaultColors = {} as Colors
70+
const defaultColors = {
71+
isColorSupported: false,
72+
reset: string,
73+
} as Colors
7174
for (const name in colorsMap) {
7275
defaultColors[name as 'reset'] = string
7376
}

0 commit comments

Comments
 (0)