d338ecd6d0
export default fails right now; I haven't got it to work and it's not in dev tools, so I don't know if it's worth the effort.
16 lines
240 B
TypeScript
16 lines
240 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: a.js
|
|
// @target: es6
|
|
export default function MyClass() {
|
|
}
|
|
MyClass.bar = class C {
|
|
}
|
|
MyClass.bar
|
|
|
|
// @Filename: b.js
|
|
import MC from './a'
|
|
MC.bar
|
|
/** @type {MC.bar} */
|
|
var x
|