DEV Community

Cover image for Définir les attributs dans le constructeur d'une classe en TS 🇫🇷
Pierre-Henry Soria ✨
Pierre-Henry Soria ✨

Posted on • Edited on

1

Définir les attributs dans le constructeur d'une classe en TS 🇫🇷

Dans cette vidéo, nous allons voir la syntaxe courte et abrégée en TypeScript pour déclarer les propriétés (attributs) d'une classe directement via les arguments du constructeur.


👉 Projets OpenSource sur GitHub https://github.com/pH-7 💡

😋 Tu apprécies mon travail ? Veux-tu me supporter en m’offrat un café ? https://ko-fi.com/phenry

Top comments (1)

Collapse
 
pierre profile image
Pierre-Henry Soria ✨

N'hésitez pas à me faire parvenir vos réactions en commentaire ! C'est toujours un plaisir de lire vos questions 😊

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more