Typing end to end with TypeScript

Tricks and tooling for web applications typing with TypeScript.

About me

Why using TypeScript?

Still some issues

What about managing IOs ?

API interface

OpenAPI, JSONSchema and GraphQL to the rescue!

OpenAPI

Syncing API documentation with the code:

GraphQL

Tie TypeScript types with GraphQL schemas:

Others

Did you heard about tRPC?

JSONSchema

Only JSON inputs?

What about clients?

Applications and back-ends may use your API too:

Database

User inputs

Typing React forms entries with useForm.

Routing parameters

Let's manage NextJS query/path parameters!

Configuration/Environment

Use global types

Thanks!

Any question?