forked from denoland/deno
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSDoc to deno_typescript (denoland#2890)
- Loading branch information
Showing
4 changed files
with
150 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. | ||
|
||
// This scopes the `ts` namespace globally, which is where it exists at runtime | ||
// when building Deno, but the `typescript/lib/typescript.d.ts` is defined as a | ||
// module | ||
|
||
import * as _ts from "typescript"; | ||
|
||
declare global { | ||
namespace ts { | ||
export = _ts; | ||
} | ||
} |
Oops, something went wrong.