Skip to content

Commit 59e8063

Browse files
committed
fix(types): Use correct type for char() options parameter
1 parent 9a22bd6 commit 59e8063

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export interface CharOptions {
6161
}
6262

6363
export interface Char {
64-
(input: Input, options?: Partial<Char>): string
65-
options(overrides?: Partial<Char>): this
64+
(input: Input, options?: Partial<CharOptions>): string
65+
options(overrides?: Partial<CharOptions>): this
6666
}
6767

6868
declare const char: Char

0 commit comments

Comments
 (0)