mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 07:24: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/
|
||||
/coverage/
|
||||
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);
|
||||
});
|
||||
rustc.stdin.write('fn main() {}');
|
||||
rustc.stdin.end();
|
||||
rustc.stdin!.write('fn main() {}');
|
||||
rustc.stdin!.end();
|
||||
});
|
||||
}
|
||||
|
@ -4,11 +4,13 @@
|
||||
"esModuleInterop": true,
|
||||
"target": "es2016",
|
||||
"sourceMap": false,
|
||||
"strict": true,
|
||||
"lib": [
|
||||
"es2019",
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"../scripts/@types/*.d.ts",
|
||||
"./**/*.ts"
|
||||
],
|
||||
"ts-node": {
|
||||
|
Loading…
Reference in New Issue
Block a user