From bd9561f4de8f940ce6ed8b5eedfa84161a749c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 22 Jan 2020 20:18:01 +0100 Subject: Reland "Create an old program to be used in snapshot." (#3747) * read CLI assets from disk during snapshotting --- cli/js/compiler_sourcefile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/compiler_sourcefile.ts') diff --git a/cli/js/compiler_sourcefile.ts b/cli/js/compiler_sourcefile.ts index 087891c99..8e81cdb45 100644 --- a/cli/js/compiler_sourcefile.ts +++ b/cli/js/compiler_sourcefile.ts @@ -61,7 +61,7 @@ export class SourceFile { mediaType!: MediaType; processed = false; - sourceCode!: string; + sourceCode?: string; tsSourceFile?: ts.SourceFile; url!: string; -- cgit v1.2.3