[Solved] Object oriented keywords in Javascript


That is a typescript type definition file.

In order to use the same keywords you will need to code your Node.js application on Typescript and have a compiler that transform it into valid javascript.

4

solved Object oriented keywords in Javascript