mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
523 B
TypeScript
28 lines
523 B
TypeScript
//// [tests/cases/compiler/emptyDeclarationEmitIsModule.ts] ////
|
|
|
|
//// [module.ts]
|
|
import * as i from "./index";
|
|
class Foo {}
|
|
//// [index.ts]
|
|
import {} from "./module";
|
|
export interface Bar {
|
|
x: string
|
|
}
|
|
|
|
//// [index.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [module.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class Foo {
|
|
}
|
|
|
|
|
|
//// [index.d.ts]
|
|
export interface Bar {
|
|
x: string;
|
|
}
|
|
//// [module.d.ts]
|
|
export {};
|