Skip to main content

Javascript

2017

Typescript All in One Constructor
·274 words·2 mins
Code Typescript Javascript
Because Typescript is just a superset of javascript, having different constructors from C++ is something that I do indeed somtimes miss. In this case, Java/Typescript classes can only have a single constructor, whereas many times I wish to have differing levels of constructor capability.