Automatically Generate TypeScript Types For Your GraphQL API Endpoint

preview_player
Показать описание

In this video, @gethackteam will teach you how to generate TypeScript types for your GraphQL API endpoint. Both TypeScript and GraphQL have a type-system, meaning you can use your GraphQL schema to generate TypeScript types. For this you can use GraphQL Code Generator, as explained in this video.

Learn more about StepZen:

---
Рекомендации по теме
Комментарии
Автор

TLDR
```
npx graphql-code-generator init
```

flexbox_