E
E
Ewanse2018-08-16 21:49:35
typescript
Ewanse, 2018-08-16 21:49:35

Can VSCode override methods in Typescript classes?

When pressing Ctrl + O inside a TypeScript class that has some kind of inheritance chain, Webstorm shows a list of all methods that can be overridden, broken down by ancestor class. After selecting a method from the list, Webstorm generates an empty method given access modifiers (protected or public) and parameters with their types:

protected testFunction (testValue: Type) {
    super.testFunction(testValue);
}

Is there something similar in VSCode? Perhaps such functionality is implemented in some extension?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question