build(compiler-cli): enable full TypeScript strictness (#29436)
This commit enables strict: true in TypeScript builds of //packages/compiler-cli. PR Close #29436
This commit is contained in:

committed by
Matias Niemelä

parent
6cd3743b44
commit
dc10355d61
@ -267,7 +267,7 @@ export class NgtscProgram implements api.Program {
|
||||
const writeFile: ts.WriteFileCallback =
|
||||
(fileName: string, data: string, writeByteOrderMark: boolean,
|
||||
onError: ((message: string) => void) | undefined,
|
||||
sourceFiles: ReadonlyArray<ts.SourceFile>) => {
|
||||
sourceFiles: ReadonlyArray<ts.SourceFile>| undefined) => {
|
||||
if (this.closureCompilerEnabled && fileName.endsWith('.js')) {
|
||||
data = nocollapseHack(data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user