#overloading

# tips and tricks

Overloading TypeScript Constructors like C++ or Java with a Catch

Whenever I was looking into the TypeScript Date class constructor implementation, I always wondered how its constructor signature worked like that, how it can have many signature, how can it work with 1st argument as number or string or an instance of itself.
Learn More
Have a problem to solve?
View my freelancing profile on upwork
Reading List Contact
server

© Nirjal Paudel