TypeScript

Un sur-ensemble de JavaScript qui ajoute le typage statique.

Ajoute un typage statique optionnel pour détecter les erreurs à la compilation. Utilisé massivement pour les grandes applications frontend et backend.

        graph LR
  Center["TypeScript"]:::main
  Rel_go_lang["go-lang"]:::related -.-> Center
  click Rel_go_lang "/terms/go-lang"
  Rel_java["java"]:::related -.-> Center
  click Rel_java "/terms/java"
  Rel_llm["llm"]:::related -.-> Center
  click Rel_llm "/terms/llm"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Test de connaissances

1 / 1

🧒 Explique-moi comme si j'avais 5 ans

[JavaScript](/fr/terms/javascript) with a 'safety net'. It checks your code for mistakes as you write it, so you don't have bugs when people use your website.

🤓 Expert Deep Dive

Transpiles to plain JavaScript. Core features include interfaces, enums, generics, and union types. It is developed and maintained by Microsoft.

📚 Sources