DEV Community

Cover image for Constructor Parameter Properties in TypeScript
Pierre-Henry Soria ✨
Pierre-Henry Soria ✨

Posted on • Updated on

Constructor Parameter Properties in TypeScript

Let's learn how to use the OOP, Constructor Parameter Properties in your TypeScript class (known as TypeScript Constructor Shorthand or Constructor Property Promotion in PHP 8).
Using the Parameter Properties in your TypeScript projects will make your code cleaner, more readable and more concise.

Top comments (0)