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,
|
||||
"moduleResolution": "bundler",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"lib": ["DOM", "ESNext"]
|
||||
"lib": [
|
||||
"DOM",
|
||||
"ESNext"
|
||||
]
|
||||
},
|
||||
"exclude": ["./dist"]
|
||||
}
|
||||
"exclude": [
|
||||
"./dist"
|
||||
]
|
||||
}
|
||||
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
@ -5,8 +5,13 @@
|
|||
"target": "ES2022",
|
||||
"module": "CommonJS",
|
||||
"esModuleInterop": true,
|
||||
"lib": ["DOM", "ESNext"],
|
||||
"lib": [
|
||||
"DOM",
|
||||
"ESNext"
|
||||
],
|
||||
"moduleResolution": "node"
|
||||
},
|
||||
"exclude": ["./dist"]
|
||||
}
|
||||
"exclude": [
|
||||
"./dist"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue