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
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...
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...
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...
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...
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...
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...
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...
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...
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...
À 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.
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
