mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
337 B
TypeScript
20 lines
337 B
TypeScript
//// [tests/cases/compiler/declarationEmitToDeclarationDirWithCompositeOption.ts] ////
|
|
|
|
//// [test.ts]
|
|
interface Foo {
|
|
x: number;
|
|
}
|
|
export default Foo;
|
|
|
|
|
|
//// [test.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
|
|
//// [test.d.ts]
|
|
interface Foo {
|
|
x: number;
|
|
}
|
|
export default Foo;
|