summaryrefslogtreecommitdiff
path: root/cli/tsc/compiler.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r--cli/tsc/compiler.d.ts6
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;