Skip to content

Commit 802ecc5

Browse files
Add explicit @types/node version specification to fix ts error
``` node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; timeout(milliseconds: number): AbortSignal; }'. 72 declare var AbortSignal: { ~~~~~~~~~~~ node_modules/typescript/lib/lib.dom.d.ts:2071:13 2071 declare var AbortSignal: { ~~~~~~~~~~~ ```
1 parent 3bffae2 commit 802ecc5

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

packages/npm-packages/ruby-wasm-wasi/package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/npm-packages/ruby-wasm-wasi/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@rollup/plugin-node-resolve": "^15.0.0",
3737
"@rollup/plugin-typescript": "^9.0.1",
3838
"@types/jest": "^29.1.2",
39+
"@types/node": "18.11.10",
3940
"@wasmer/wasi": "^0.12.0",
4041
"@wasmer/wasmfs": "^0.12.0",
4142
"babel-jest": "^29.1.2",

0 commit comments

Comments
 (0)