17 lines
284 B
TypeScript
17 lines
284 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;
|
|
}
|