mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
19 lines
373 B
TypeScript
19 lines
373 B
TypeScript
//// [tests/cases/compiler/declarationEmitDefaultExport6.ts] ////
|
|
|
|
//// [declarationEmitDefaultExport6.ts]
|
|
export class A {}
|
|
export default new A();
|
|
|
|
|
|
//// [declarationEmitDefaultExport6.js]
|
|
export class A {
|
|
}
|
|
export default new A();
|
|
|
|
|
|
//// [declarationEmitDefaultExport6.d.ts]
|
|
export declare class A {
|
|
}
|
|
declare const _default: A;
|
|
export default _default;
|