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