diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-05-17 16:59:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 16:59:35 +0200 |
commit | d76acfdc17e27b53fc53e6cd3051ff0acaefef42 (patch) | |
tree | 73a2f9984887f5403682de6100b7059b475ea25d /cli/tsc/compiler.d.ts | |
parent | b2ba0c54afe806770a9a556b8e622b3c8c0bb5d1 (diff) |
fix: base64 encoding of source maps with emojis (#14607)
This commit fixes source maps for files that contain emojis.
This is done by updating "deno_ast" to "0.14.1" for the case
of "--no-check" flag (ie using SWC emit) and by overriding
TSC's default base64 encoder (which turned out to be buggy)
for the type checking case.
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index e84484884..7d935434b 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -8,7 +8,7 @@ declare global { namespace ts { var libs: string[]; var libMap: Map<string, string>; - + var base64encode: (host: ts.CompilerHost, input: string) => string; interface SourceFile { version?: string; } |