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.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts
index b550c938b..62a1bbdd2 100644
--- a/cli/tsc/compiler.d.ts
+++ b/cli/tsc/compiler.d.ts
@@ -12,6 +12,7 @@ declare global {
var normalizePath: (path: string) => string;
interface SourceFile {
version?: string;
+ fileName: string;
}
interface CompilerHost {
@@ -24,6 +25,12 @@ declare global {
}
var performance: Performance;
+
+ namespace deno {
+ function setIsNodeSourceFileCallback(
+ callback: (sourceFile: SourceFile) => boolean,
+ );
+ }
}
namespace ts {