• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// @target: es5
2// @outFile: out.js
3// @module: amd
4
5// #15734 failed when test.ts comes before typings.d.ts
6// @Filename: test.ts
7namespace C {
8    export class Name {
9        static funcData = A.AA.func();
10        static someConst = A.AA.foo;
11
12        constructor(parameters) {}
13    }
14}
15
16// @Filename: typings.d.ts
17declare namespace A {
18    namespace AA {
19        function func(): number;
20        const foo = "";
21    }
22}
23