Skip to content

Commit 7bfe1bf

Browse files
fix(typscript): update ColorFnCall typings (wtho#198)
1 parent 47b07d1 commit 7bfe1bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ export type ColorFn =
165165
166166
export interface ColorFnCall {
167167
fn: ColorFn
168-
fnArg: string
169-
composeArg?: ColorFnCall
168+
fnArg: string | null
169+
composeArg: ColorFnCall | null
170170
}
171171
172172
export interface ColorCallSet {

0 commit comments

Comments
 (0)