Skip to content

Commit f970c61

Browse files
committed
fixed type
1 parent 8566f95 commit f970c61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

flug.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default function test(
22
name: string,
3-
callback: ({ eq }: { eq?: (actual: any, expected: any) => boolean }) => void
3+
callback: ({ eq }: { eq: (actual: any, expected: any) => boolean }) => void
44
): void;

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"format": "npx prettier --arrow-parens=avoid --print-width=500 --write *.js */**.js",
1313
"lint": "node lint.js",
1414
"test": "node test.js",
15-
"test:html": "npx http-server"
15+
"test:html": "npx http-server",
16+
"test:ts": "npx ts-node test.ts"
1617
},
1718
"repository": {
1819
"type": "git",

0 commit comments

Comments
 (0)