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