Why does class C
class C implements N, M {
constructor(public a: number) {}
}
not satisfy the the interfaces M
or N
?
interface M {
constructor(a: number)
}
interface N {
new(a: number)
}
How do I write an interface that C
satisfies?