Pragmatic AI Labs

Working with Data in TypeScript 7

Eignen Sie sich gefragte Fähigkeiten mit einem ganzjährigen Coursera Plus-Abonnement an -- jetzt für 239 $. Sparen Sie jetzt.

kurs ist nicht verfügbar in Deutsch (Deutschland)

Wir übersetzen es in weitere Sprachen.
Pragmatic AI Labs

Working with Data in TypeScript 7

Alfredo Deza

Dozent: Alfredo Deza

Bei Coursera PlusMehr erfahren enthalten

Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Anfänger

Empfohlene Erfahrung

2 Wochen zu vervollständigen
unter 10 Stunden pro Woche
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen
Verschaffen Sie sich einen Einblick in ein Thema und lernen Sie die Grundlagen.
Stufe Anfänger

Empfohlene Erfahrung

2 Wochen zu vervollständigen
unter 10 Stunden pro Woche
Flexibler Zeitplan
In Ihrem eigenen Lerntempo lernen

Was Sie lernen werden

  • 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

Kompetenzen, die Sie erwerben

  • Kategorie: Data Validation
  • Kategorie: Data Pipelines
  • Kategorie: Software Testing
  • Kategorie: Test Data
  • Kategorie: File I/O
  • Kategorie: Interoperability
  • Kategorie: JSON
  • Kategorie: Development Testing
  • Kategorie: Integration Testing

Werkzeuge, die Sie lernen werden

  • Kategorie: TypeScript
  • Kategorie: Node.JS

Wichtige Details

Zertifikat zur Vorlage

Zu Ihrem LinkedIn-Profil hinzufügen

Kürzlich aktualisiert!

November 2026

Bewertungen

5 Aufgaben

Unterrichtet in Englisch

Erweitern Sie Ihre Fachkenntnisse

Dieser Kurs ist Teil der Spezialisierung Spezialisierung „TypeScript 7 for Beginners“
Wenn Sie sich für diesen Kurs anmelden, werden Sie auch für diese Spezialisierung angemeldet.
  • Lernen Sie neue Konzepte von Branchenexperten
  • Gewinnen Sie ein Grundverständnis bestimmter Themen oder Tools
  • Erwerben Sie berufsrelevante Kompetenzen durch praktische Projekte
  • Erwerben Sie ein Berufszertifikat zur Vorlage

In diesem Kurs gibt es 4 Module

You see a type promise a number while the data holds a string, and the compiler say nothing. You see JSON.parse's any let a typo through to a TypeError, and unknown catch it as TS18046. You narrow a parsed todo by hand, one check at a time. Then you see that an async function hands back a promise, that a forgotten await is TS2322, and that Oxlint's type-aware rule catches a promise nobody waits for. Finally you read a file with Node's fs module, see a missing file fail with ENOENT, and treat it as an empty list.

Das ist alles enthalten

11 Videos9 Lektüren1 Aufgabe

You install Zod and write a schema: a description of the data that still exists while the program runs. You infer a type from it, so the type and the check never disagree, and use it in the todo loader. You see Zod refuse a todo with an empty title before the program prints anything, read errors that name the row and the field, and use safeParse to skip a bad row and keep going. Then you write the same schema in Valibot, look at the Standard Schema interface both libraries share, and write one helper that accepts either.

Das ist alles enthalten

10 Videos6 Lektüren1 Aufgabe

You fetch JSON with Node's built-in fetch from a server on your own machine, and see that its body is unknown. You see that a 404 is still an answer, check the response status before reading the body, and test it with Node's test runner. You see that any value can be thrown, so a caught error is unknown, and narrow it before using it. Then you read environment variables that may be undefined, give them defaults and checks, and validate the todo loader's settings with Zod.

Das ist alles enthalten

10 Videos6 Lektüren1 Aufgabe

You add the code that works on checked data: a counter of open todos and a list of todos with their status, with no checks of their own. You write tests for valid data, for invalid data, and with fixtures kept in files that go through the real loader. Then you read the project's brief, see the finished program count a valid file, refuse an invalid one with one clear message and exit code 1, and treat a missing file as no todos, proven by one check with five steps.

Das ist alles enthalten

10 Videos6 Lektüren2 Aufgaben

Erwerben Sie ein Karrierezertifikat.

Fügen Sie dieses Zeugnis Ihrem LinkedIn-Profil, Lebenslauf oder CV hinzu. Teilen Sie sie in Social Media und in Ihrer Leistungsbeurteilung.

Dozent

Alfredo Deza
Pragmatic AI Labs
0 Kurse0 Lernende

von

Pragmatic AI Labs

Mehr von Software Development entdecken

Warum entscheiden sich Menschen für Coursera für ihre Karriere?

Felipe M.

Lernender seit 2018
„Es ist eine großartige Erfahrung, in meinem eigenen Tempo zu lernen. Ich kann lernen, wenn ich Zeit und Nerven dazu habe.“

Jennifer J.

Lernender seit 2020
„Bei einem spannenden neuen Projekt konnte ich die neuen Kenntnisse und Kompetenzen aus den Kursen direkt bei der Arbeit anwenden.“

Larry W.

Lernender seit 2021
„Wenn mir Kurse zu Themen fehlen, die meine Universität nicht anbietet, ist Coursera mit die beste Alternative.“

Chaitanya A.

„Man lernt nicht nur, um bei der Arbeit besser zu werden. Es geht noch um viel mehr. Bei Coursera kann ich ohne Grenzen lernen.“

Was führt Sie heute zu Coursera?

  • cplus logo

    Eignen Sie sich Fähigkeiten an, die ein Leben lang halten -- jetzt für 239 $

  • Coursera for Teams

    Verleihen Sie Ihrem Team neue Fähigkeiten

Häufig gestellte Fragen