Skip to content

Commit 6355ed4

Browse files
committed
chore: fix ts issues
1 parent bb6e8a7 commit 6355ed4

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/types/_polyfills.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

test/fixture/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"noErrorTruncation": true,
55
"allowSyntheticDefaultImports": true,
66
"skipLibCheck": true,
7-
"baseUrl": ".",
87
"strict": false,
98
"types": ["@cloudflare/workers-types"],
109
// (currently manually synced with top level tsconfig.json paths)

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"compilerOptions": {
33
/* Base options: */
4-
"esModuleInterop": false,
54
"allowSyntheticDefaultImports": true,
65
"skipLibCheck": true,
76
"target": "es2022",
@@ -65,6 +64,7 @@
6564
"nitropack/types": ["./src/types"],
6665
// Virtual files
6766
"#nitro-internal-virtual/*": ["./src/types/virtual/*"],
67+
"#nitro-internal-pollyfills": ["./src/types/_polyfills.ts"],
6868
// Compatibility (#internal/nitro)
6969
"#internal/nitro": ["./src/runtime"],
7070
"#internal/nitro/*": ["./src/runtime/*"],

0 commit comments

Comments
 (0)