Answer the question
In order to leave comments, you need to log in
How to override a method from an abstract TypeScript class?
The abstract class has a method:
public prop<K extends keyof RootObject>(key: K) {
return this._has(key) ? this.data[key] : null;
}
public prop<K extends keyof IParentProfile>(key: K) {
return this._has(key) ? this.model[key] : null;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question