Microsoft/TypeScript
GitHub で見る[BUG] Docs say es6 modules can't export class objects, but that's not true.
Open
#13,627 opened on 2017年1月23日
DocsHelp Wanted
Repository metrics
- Stars
- (48,455 stars)
- PR merge metrics
- (平均マージ 6d 17h) (30d で 9 merged PRs)
説明
The docs say that
/*~ Note that ES6 modules cannot directly export class objects.
but modules can export classes, as in
export default
class Foo { /*...*/ }