15 lines
239 B
Text
15 lines
239 B
Text
|
=== tests/cases/compiler/modules.d.ts ===
|
||
|
|
||
|
declare module "a" {
|
||
|
var a: number;
|
||
|
>a : number
|
||
|
|
||
|
export = a; // OK, in ambient context
|
||
|
>a : number
|
||
|
}
|
||
|
|
||
|
=== tests/cases/compiler/b.ts ===
|
||
|
import * as a from "a";
|
||
|
>a : number
|
||
|
|