Types stop at the edge of your program. Everything that comes in from outside, a JSON file, a server's answer, a thrown error, an environment variable, shows up while the program runs, after the compiler has finished. In this course you learn to check that data before you trust it. You'll type parsed JSON as unknown instead of any and narrow it, await promises and catch the one nobody waits for, and decide what a missing file means. You'll describe data with Zod schemas, infer types from them, read errors that name the exact row and field, and write the same schema in Valibot behind one shared interface. You'll fetch JSON from a local server, check the status before reading the body, handle anything that can be thrown, and validate settings from the environment. Then you'll build a validated todo loader with tests for good data and bad. For beginners who know TypeScript's everyday types and narrowing.

Working with Data in TypeScript 7
Développez des compétences très recherchées grâce à un abonnement d'un an à Coursera Plus, désormais à 239 $. Profitez-en dès maintenant.

Working with Data in TypeScript 7
Ce cours fait partie de Spécialisation "TypeScript 7 for Beginners"

Instructeur : Alfredo Deza
Inclus avec En savoir plus
Expérience recommandée
Ce que vous apprendrez
Type data from files, servers, errors and the environment as unknown, and narrow it
Validate data with Zod and Valibot schemas, and read their errors
Build and test a data loader that refuses bad data with a clear message
Compétences que vous acquerrez
- Catégorie : JSON
- Catégorie : Data Validation
- Catégorie : Software Testing
- Catégorie : Data Pipelines
- Catégorie : Interoperability
- Catégorie : Development Testing
- Catégorie : Integration Testing
- Catégorie : Test Data
- Catégorie : File I/O
Outils que vous découvrirez
- Catégorie : TypeScript
- Catégorie : Node.JS
Détails à connaître

Ajouter à votre profil LinkedIn
novembre 2026
5 devoirs
Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

Élaborez votre expertise du sujet
- Apprenez de nouveaux concepts auprès d'experts du secteur
- Acquérez une compréhension de base d'un sujet ou d'un outil
- Développez des compétences professionnelles avec des projets pratiques
- Obtenez un certificat professionnel partageable

Il y a 4 modules dans ce cours
Obtenez un certificat professionnel
Ajoutez ce titre à votre profil LinkedIn, à votre curriculum vitae ou à votre CV. Partagez-le sur les médias sociaux et dans votre évaluation des performances.
Instructeur

Offert par
En savoir plus sur Software Development

Pragmatic AI Labs

Pragmatic AI Labs

Pragmatic AI Labs
Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
Qu’est-ce qui vous amène sur Coursera aujourd’hui ?
Foire Aux Questions
Plus de questions
Aide financière disponible,





