Skip to content

Commit a0fdc22

Browse files
authored
fix: option parameter (#48)
1 parent 44baefc commit a0fdc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const constants = {
1212

1313

1414

15-
export const parse = (input: string, options?: Partial<options> = {}) => {
15+
export const parse = (input: string, options: Partial<options> = {}) => {
1616
if (typeof input !== 'string') {
1717
throw new TypeError('Expected input to be a string');
1818
}

0 commit comments

Comments
 (0)