Here's an example:
class A {
func(): void {}
}
class B extends A {
func(a: number, b: string): void {}
}
Class B gives an error saying func() is implemented incorrectly.
Ultimately, I'm trying to make this work:
var b: B;
b.func(0, ''); // func is overloaded by B
b.func(); // func is inherited from A
Is this currently possible in Typescript?
UPDATE: Fixed the code, accidentally used function properties instead of methods.