Reputation: 2957
I am coding in Typescript using Visual Studio Code. Is there a way to auto generate methods stubs which gets inherited in a class through an interface ?
Upvotes: 18
Views: 18059
Reputation: 850
UPDATE: VS Code now supports this functionality out of the box. Just add the interface, the compiler will highlight the controller with red, right click on the light bulb on the left and click implement interface. Enjoy!
Upvotes: 10
Reputation: 276235
Is there a way to auto generate methods stubs which gets inherited in a class through an interface
Not out of the box. And plugin API interface is not public yet.
Upvotes: 3