diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-06-01 10:19:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 10:19:18 +1000 |
commit | 7eee521199e9735ab7c347d99e9d90ba3046be1a (patch) | |
tree | 2528f05c15f6e689c1cb409a6bbe554b2507fc40 /cli/tsc/compiler.d.ts | |
parent | c41544ac7b502fbdb6c1ee96a604490b72eb7770 (diff) |
feat: update to TypeScript 4.7 (#14242)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index 7d935434b..2ea7eb298 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -9,10 +9,15 @@ declare global { var libs: string[]; var libMap: Map<string, string>; var base64encode: (host: ts.CompilerHost, input: string) => string; + var normalizePath: (path: string) => string; interface SourceFile { version?: string; } + interface CompilerHost { + base64encode?: (data: any) => string; + } + interface Performance { enable(): void; getDuration(value: string): number; @@ -31,6 +36,7 @@ declare global { } interface DenoCore { + encode(value: string): Uint8Array; // deno-lint-ignore no-explicit-any opSync<T>(name: string, params: T): any; ops(): void; |