diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-07-06 10:13:27 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 20:13:27 -0400 |
commit | 4f60a0b3bd4732ce835f2027aa82edbb5ea6c7f9 (patch) | |
tree | 2ff2ab3f078fb7ae12af854801c2f209af17a8de /cli/js/compiler.ts | |
parent | f35edc574aea43f65e052db148d9b337d7f2dae4 (diff) |
chore: improve type safety of cli/js/compiler (#6647)
Diffstat (limited to 'cli/js/compiler.ts')
-rw-r--r-- | cli/js/compiler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts index 905f5efb2..33fef4002 100644 --- a/cli/js/compiler.ts +++ b/cli/js/compiler.ts @@ -245,6 +245,7 @@ class SourceFile { processed = false; sourceCode?: string; tsSourceFile?: ts.SourceFile; + versionHash!: string; url!: string; constructor(json: SourceFileJson) { @@ -445,7 +446,6 @@ class Host implements ts.CompilerHost { sourceFile.sourceCode, languageVersion ); - //@ts-ignore sourceFile.tsSourceFile.version = sourceFile.versionHash; delete sourceFile.sourceCode; } |