This commit is contained in:
Andras Schmelczer 2025-03-28 20:59:51 +00:00
commit fcd0cb84fe
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 21 additions and 9 deletions

View file

@ -6,7 +6,12 @@
"strict": true, "strict": true,
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"lib": ["DOM", "ESNext"] "lib": [
"DOM",
"ESNext"
]
}, },
"exclude": ["./dist"] "exclude": [
"./dist"
]
} }

View file

@ -6,10 +6,12 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"moduleResolution": "bundler", "moduleResolution": "bundler",
"lib": [ "lib": [
"DOM" // to get "fetch" "DOM" // to get `fetch` & `WebSocket`
], ],
"declaration": true, "declaration": true,
"declarationDir": "./dist/types" "declarationDir": "./dist/types"
}, },
"exclude": ["./dist"] "exclude": [
"./dist"
]
} }

View file

@ -5,8 +5,13 @@
"target": "ES2022", "target": "ES2022",
"module": "CommonJS", "module": "CommonJS",
"esModuleInterop": true, "esModuleInterop": true,
"lib": ["DOM", "ESNext"], "lib": [
"DOM",
"ESNext"
],
"moduleResolution": "node" "moduleResolution": "node"
}, },
"exclude": ["./dist"] "exclude": [
"./dist"
]
} }