18 lines
289 B
TypeScript
18 lines
289 B
TypeScript
//// [es6ExportDefaultClassDeclaration.ts]
|
|
|
|
export default class C {
|
|
method() { }
|
|
}
|
|
|
|
|
|
//// [es6ExportDefaultClassDeclaration.js]
|
|
export default class C {
|
|
method() {
|
|
}
|
|
}
|
|
|
|
|
|
//// [es6ExportDefaultClassDeclaration.d.ts]
|
|
export default class C {
|
|
method(): void;
|
|
}
|