17 lines
282 B
TypeScript
17 lines
282 B
TypeScript
//// [es6ExportDefaultClassDeclaration2.ts]
|
|
|
|
export default class {
|
|
method() { }
|
|
}
|
|
|
|
|
|
//// [es6ExportDefaultClassDeclaration2.js]
|
|
export default class {
|
|
method() { }
|
|
}
|
|
|
|
|
|
//// [es6ExportDefaultClassDeclaration2.d.ts]
|
|
export default class {
|
|
method(): void;
|
|
}
|