summaryrefslogtreecommitdiff
path: root/deno_typescript/globals.d.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-15 18:36:27 -0400
committerGitHub <noreply@github.com>2019-09-15 18:36:27 -0400
commitc9ef182886cc07d35a5b27fb89163d8cf21a6a47 (patch)
tree6ba1605daa7e9e8cac3f6b926374086906f571b5 /deno_typescript/globals.d.ts
parent1d305c2ac785af6b28649f2023d5008e390eeca0 (diff)
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and deno_cli. - Combines cli_snapshots and js into one directory. - Extracts TS version at compile time rather than runtime - Bumps version awkwardly - it was necessary to test end-to-end publishing. Sorry. - Adds git submodule deno_typescript/typescript
Diffstat (limited to 'deno_typescript/globals.d.ts')
-rw-r--r--deno_typescript/globals.d.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/deno_typescript/globals.d.ts b/deno_typescript/globals.d.ts
deleted file mode 100644
index b087c5552..000000000
--- a/deno_typescript/globals.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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;
- }
-}