mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 02:55:04 +01:00
make tsconfig file to build declaration files
This commit is contained in:
parent
df6000c706
commit
14b854ad4f
14
tsconfig-declaration.json
Normal file
14
tsconfig-declaration.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"extends": "./tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"noEmit": false,
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"declaration": true,
|
||||||
|
"outDir": "dist/types",
|
||||||
|
"rootDir": "src"
|
||||||
|
},
|
||||||
|
"exclude": [
|
||||||
|
"src/sdk/paths/*"
|
||||||
|
],
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
}
|
@ -1,9 +1,12 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
|
"noImplicitAny": false,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"moduleResolution": "node"
|
"module": "ES2020",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"esModuleInterop": true
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"src/sdk/paths/*"
|
"src/sdk/paths/*"
|
||||||
|
Loading…
Reference in New Issue
Block a user