mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
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.
This commit is contained in:
parent
b2ba0c54af
commit
d76acfdc17
7 changed files with 56 additions and 6 deletions
2
cli/tsc/compiler.d.ts
vendored
2
cli/tsc/compiler.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue