11 lines
214 B
TypeScript
11 lines
214 B
TypeScript
// @allowSyntheticDefaultImports: true
|
|
// @module: commonjs
|
|
// @Filename: b.d.ts
|
|
declare class Foo {
|
|
member: string;
|
|
}
|
|
export = Foo;
|
|
|
|
// @Filename: a.ts
|
|
import Foo from "./b";
|
|
export var x = new Foo();
|