Le Coin TS : apprenez à coder en TypeScript, depuis les bases !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Les derniers articles

Tuto création fichier package.json pour projets TypeScript, comment générer avec npm ou manuellement l'écrire lorsqu'on débute en TS

Comment créer un fichier package.json pour ses projets TypeScript ?


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Le fichier package.json est un élément central de tout projet TypeScript ou JavaScript moderne. Ce fichier JSON, situé à la racine de votre projet, contiendra...

Lire la suite
Exemple d'API REST écrit en TypeScript sous NodeJS, pour apprendre à coder en TS avec un projet simple et détaillé au niveau du programme

Construire une API REST avec NodeJS et TypeScript : Un Exemple Concret et Détaillé !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Vous plairez t'il d'apprendre à réaliser une API REST en TypeScript, sous NodeJS ? Si oui, je vous propose de le faire en décortiquant un exemple...

Lire la suite
Guide complet ES5 ES6 ES2016 à 2024 et ESNext, avec détail fonctionnalités javascript supplémentaire pour ces normes ECMAScript pour débutant JS/TS

Qu’est-ce que ES5, ES6, ES2016 à ES2024, et ESNext ? Le Guide Ultime de l’Évolution de JavaScript !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

JavaScript a constamment évolué à travers le temps, et évolue encore. Et ce, grâce à ECMAScript (ES), la spécification qui le régit. Mais peut-être vous...

Lire la suite
Tuto création fichier tsconfig.json TypeScript pour montrer include exclude outDir module et target dans code TS ou programme typescript débutant

Comment créer un fichier tsconfig.json, concrètement ? Et à quoi ça sert ?


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Pour ceux qui le ne sauraient pas, le fichier tsconfig.json est un fichier à mettre à la racine de son projet, qui permet de configurer...

Lire la suite
Projet de mini chat bot écrit en TypeScript, pour apprendre à coder en TS avec exemple détaillé de déclarations et écriture de foncions simples

MiniChatBot : Un Chatbot Simple (sans IA) et détaillé, pour apprendre TypeScript


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Bienvenue dans le monde de MiniChatBot, un petit projet TypeScript ludique, pour vous montrer comment coder proprement nos variables et fonctions TS, avec des typages...

Lire la suite
Tuto montrant des pièges classiques TypeScript et comment les éviter en utilisant des bonnes pratiques de codage TS, pour un code plus solide

Comment éviter les pièges courants en TypeScript : 5 erreurs à ne pas faire !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

TypeScript est un outil puissant pour écrire du code robuste ; mais il peut aussi vous piéger, si vous n’y prêtez pas attention ! Entre abus...

Lire la suite
Unions, intersections, et types utilitaires TypeScript, comme Partial Pick Omit Record et ReturnType, pour un codage étendu et plus sûr

Maîtriser les types avancés en TypeScript : unions, intersections, et types utilitaires


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

TypeScript, c’est bien plus encore que des types de base comme string ou number, ou même des interfaces. En fait, pour vraiment tirer parti de...

Lire la suite
Meilleures extensions VScode pour TypeScript pour assister le développeur TS avec vérification d'erreur, formateur de code, et thèmes colorés

Les meilleures extensions VS Code pour développer en TypeScript !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Vous débutez avec TypeScript et cherchez un environnement de développement à la fois simple et performant ? Alors Visual Studio Code (VScode, pour les intimes) est...

Lire la suite
Tuto pour bien typer les fonctions typescript, pour un code TS robuste avec typages avancés, avantages par rapport aux codes Javascript JS

Comment bien typer ses fonctions avec TypeScript, pour un code robuste et durable !


Warning: preg_match_all(): Unknown modifier 'p' in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 154

Warning: Trying to access array offset on null in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Warning: foreach() argument must be of type array|object, null given in /home/axiseocory/www_lecoints/wp-content/themes/astra-child/functions.php on line 158

Les fonctions sont au cœur de nos programmes JavaScript. Mais sans garde-fous, elles peuvent vite devenir une source de bugs. C'est pourquoi utiliser TypeScript pour...

Lire la suite

À venir prochainement …

  • des questions fréquentes, pour la FAQ 😉
  • des "cours" de base, pour apprendre TypeScript pas à pas

À très bientôt,
Jérôme.

Site LeCoinTS.fr

JEROME

Passionné par tout ce qui touche à la programmation informatique en TypeScript, sans toutefois en être expert, j'ai à coeur de vous partager ici, peu à peu, tout ce que j'ai appris, découvert, réalisé, et testé jusqu'à présent ! En espérant que tout cela puisse vous servir, ainsi qu'au plus grand nombre de francophones possible !

(*) Mis à jour le 17/04/2025