summaryrefslogtreecommitdiff
path: root/deno_typescript/globals.d.ts
blob: b087c555236ace281fa1d675b43d7bc4311929cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
  }
}