Skip to content

Commit 1c0fde1

Browse files
authored
Fix failing tests caused by recent changes to @types/node (#1016)
DefinitelyTyped/DefinitelyTyped@f7e2812
1 parent 2a0f1f3 commit 1c0fde1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ describe('ts-node', function () {
596596
return _compile.call(this, code, fileName)
597597
}
598598

599-
return old(m, fileName)
599+
return old!(m, fileName)
600600
}
601601
})
602602

0 commit comments

Comments
 (0)