You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// jsdoc marked as mixin
interface A {
a(): void;
}
// jsdoc marked as interface
interface B {
b(): void;
}
class C implements A, B {
}
current output
// jsdoc marked as mixin
interface A {
a(): void;
}
// jsdoc marked as interface
interface B {
b(): void;
}
class C implements A, B {
static a(): void;
b(): void;
}
The reason of static occurrence is because in jsdoc mixins do not apply scope: instance.
I can not figure out why should we copy those members to class. IMO, it's unnecessary.