mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 15:34:59 +01:00
Enable strict mode on hak tsconfig (#483)
This commit is contained in:
parent
19f04d4362
commit
d766aef435
2
.gitignore
vendored
2
.gitignore
vendored
@ -15,3 +15,5 @@ node_modules/
|
|||||||
/test_artifacts/
|
/test_artifacts/
|
||||||
/coverage/
|
/coverage/
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
|
/hak/**/*.js
|
||||||
|
/scripts/hak/**/*.js
|
||||||
|
@ -80,7 +80,7 @@ export default async function(hakEnv: HakEnv, moduleInfo: DependencyInfo): Promi
|
|||||||
}
|
}
|
||||||
fsProm.unlink('tmp').then(resolve);
|
fsProm.unlink('tmp').then(resolve);
|
||||||
});
|
});
|
||||||
rustc.stdin.write('fn main() {}');
|
rustc.stdin!.write('fn main() {}');
|
||||||
rustc.stdin.end();
|
rustc.stdin!.end();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -4,11 +4,13 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"target": "es2016",
|
"target": "es2016",
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
|
"strict": true,
|
||||||
"lib": [
|
"lib": [
|
||||||
"es2019",
|
"es2019",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
"../scripts/@types/*.d.ts",
|
||||||
"./**/*.ts"
|
"./**/*.ts"
|
||||||
],
|
],
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
|
Loading…
Reference in New Issue
Block a user