This commit is contained in:
Andras Schmelczer 2025-03-28 20:59:51 +00:00
parent b153ca0cbc
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,
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"lib": ["DOM", "ESNext"]
"lib": [
"DOM",
"ESNext"
]
},
"exclude": ["./dist"]
}
"exclude": [
"./dist"
]
}

View file

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

View file

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