mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
441 B
TypeScript
22 lines
441 B
TypeScript
//// [tests/cases/compiler/es5ExportDefaultClassDeclaration.ts] ////
|
|
|
|
//// [es5ExportDefaultClassDeclaration.ts]
|
|
export default class C {
|
|
method() { }
|
|
}
|
|
|
|
|
|
//// [es5ExportDefaultClassDeclaration.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class C {
|
|
method() { }
|
|
}
|
|
exports.default = C;
|
|
|
|
|
|
//// [es5ExportDefaultClassDeclaration.d.ts]
|
|
export default class C {
|
|
method(): void;
|
|
}
|