Jens Claes

Don't compromise on speedy delivery nor type-safety by choosing TypeScript

What if your type system could enforce security checks automatically? Learn how with TypeScript's powerful type-level programming.

Don't compromise on speedy delivery nor type-safety by choosing TypeScript
#1about 7 minutes

An introduction to TypeScript's core type system

TypeScript adds a powerful type system to JavaScript, covering basic types, complex objects and unions, generics for abstraction, and literal types for precision.

#2about 7 minutes

Understanding TypeScript's type-level programming capabilities

TypeScript's type system operates in a separate 'type land' and supports programming constructs like functions via generics and conditional logic via conditional types.

#3about 6 minutes

Implementing loops and complex logic with types

Explore advanced type-level programming by implementing loops using recursion and mapped types, leveraging TypeScript's Turing-complete type system.

#4about 3 minutes

Achieving type-safe input validation with Zod

Solve the mismatch between runtime validation and static types by inferring types directly from a validator schema using the 'parse, don't validate' pattern.

#5about 8 minutes

Building end-to-end type-safe full-stack applications

Create a fully type-safe API by inferring the client from the server's implementation, eliminating type mismatches between the frontend and backend.

#6about 4 minutes

Q&A on enums, interfaces, and other features

Common questions are answered regarding the use of enums versus union types, `type` versus `interface`, file organization, and legacy features like namespaces.

#7about 7 minutes

Enforcing access control with the type system

Guarantee that permission checks are performed by encoding the checked permissions into an object's type, which is then verified by the compiler in downstream services.

#8about 4 minutes

Evaluating the strengths and limitations of TypeScript

TypeScript enables rapid, type-safe development but has limitations such as complex syntax, recursion depth limits, and the need for 'escape hatches'.

Related jobs
Jobs that call for the skills explored in this talk.

Angular Developer

Picnic Technologies B.V.
Amsterdam, Netherlands

Intermediate
Senior

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.