diff options
author | 2023-02-28 19:46:18 -0800 | |
---|---|---|
committer | 2023-02-28 19:47:46 -0800 | |
commit | 931f23d360f86ace209391db3278e4e636f2c83c (patch) | |
tree | 871f8275f87306cf0be17e16dc665db431bd3c17 | |
parent | 1da8045ce45bb155ec05acc1789eff97b4227307 (diff) | |
download | bun-931f23d360f86ace209391db3278e4e636f2c83c.tar.gz bun-931f23d360f86ace209391db3278e4e636f2c83c.tar.zst bun-931f23d360f86ace209391db3278e4e636f2c83c.zip |
Fix typecheck
-rw-r--r-- | test/bun.js/inspect.test.js | 2 | ||||
-rw-r--r-- | tsconfig.json | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/bun.js/inspect.test.js b/test/bun.js/inspect.test.js index 243f23cdc..024a976a3 100644 --- a/test/bun.js/inspect.test.js +++ b/test/bun.js/inspect.test.js @@ -275,7 +275,7 @@ const fixture = [ }), () => require("events"), () => { - return new import.meta.require("events").EventEmitter(); + return new (import.meta.require("events").EventEmitter)(); }, async () => await import("node:assert"), async () => await import("./empty.js"), diff --git a/tsconfig.json b/tsconfig.json index 2777ef03f..518dca2c1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,8 +18,11 @@ "examples/macros", "test/bun.js/solid-dom-fixtures", "test/bun.js/bundled", + "src/deps", + "bun-webkit", // JavaScriptCore builtins use a non-standard "@" symbol to indicate a private identifier which no other tool supports "src/bun.js/builtins", + "src/bun.js/WebKit", "src/api/demo", "test/snapshots", "test/snapshots-no-hmr", |