Format
This commit is contained in:
parent
b153ca0cbc
commit
fcd0cb84fe
3 changed files with 21 additions and 9 deletions
|
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue