I use Visual Studio Code to develop Angular 2 apps in Typescript. Is there any means to save the effort of writing constructors with its parameter list myself?
Would be great if the IDE could generate the constructor based on the class members like e.g. Eclipse can do it for Java.
Just install TypeScript Toolbox :
https://marketplace.visualstudio.com/items?itemName=DSKWRK.vscode-generate-getter-setter
You can generate Constructor, Getter and setters ....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With