2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/ambientExternalModuleWithoutInternalImportDeclaration_1.ts ===
|
|
|
|
///<reference path='ambientExternalModuleWithoutInternalImportDeclaration_0.ts'/>
|
|
|
|
import A = require('M');
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : typeof A, Symbol(A, Decl(ambientExternalModuleWithoutInternalImportDeclaration_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var c = new A();
|
2015-04-13 23:01:57 +02:00
|
|
|
>c : A, Symbol(c, Decl(ambientExternalModuleWithoutInternalImportDeclaration_1.ts, 2, 3))
|
2014-08-25 19:36:12 +02:00
|
|
|
>new A() : A
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : typeof A, Symbol(A, Decl(ambientExternalModuleWithoutInternalImportDeclaration_1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
=== tests/cases/compiler/ambientExternalModuleWithoutInternalImportDeclaration_0.ts ===
|
|
|
|
declare module 'M' {
|
|
|
|
module C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : typeof C, Symbol(C, Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 0, 20), Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var f: number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : number, Symbol(f, Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 2, 18))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
class C {
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 0, 20), Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
foo(): void;
|
2015-04-13 23:01:57 +02:00
|
|
|
>foo : () => void, Symbol(foo, Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 4, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export = C;
|
2015-04-13 23:01:57 +02:00
|
|
|
>C : C, Symbol(C, Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 0, 20), Decl(ambientExternalModuleWithoutInternalImportDeclaration_0.ts, 3, 5))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|