-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
How do I properly annotate the following code?
const AMixin = superclass => class extends superclass {
aMixedMethod() {}
}
const ABMixin = superclass => class extends AMixin(superclass) {
bMixedMethod() {}
}
export {
AMixin,
ABMixin,
};This example on flow.org/try.
Analogous code without exports works fine with inferred types (example), but I am not sure what the inferred signature is or how to get it or whether it is possible.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels