diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-10-21 11:20:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 15:20:18 +0000 |
commit | bcfe279fba865763c87f9cd8d5a2d0b2cbf451be (patch) | |
tree | 68e4d1bc52e261df50279f9ecea14795d1c46f6c /cli/tsc/compiler.d.ts | |
parent | 0e1a71fec6fff5fe62d7e6b2bfffb7ab877d7b71 (diff) |
feat(unstable/npm): initial type checking of npm specifiers (#16332)
Diffstat (limited to 'cli/tsc/compiler.d.ts')
-rw-r--r-- | cli/tsc/compiler.d.ts | 7 |
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 { |