Skip to content

Commit 829d0e9

Browse files
committed
Fix type error in parse-args test coerce function
1 parent 75256b5 commit 829d0e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/registry/parse-args.test.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ describe('parse-args module', () => {
331331
options: {
332332
port: {
333333
type: 'string',
334-
coerce: (value: string) => Number.parseInt(value, 10),
334+
coerce: (value: unknown) =>
335+
Number.parseInt(value as string, 10) as unknown,
335336
},
336337
},
337338
})

0 commit comments

Comments
 (0)