Wrong types :(

It’s so frustrating that this post Improve Your Frontend Experience With Strapi Types And TypeScript gives me wrong types in my frontend.

This topic has been created from a Discord post (1275447521933656234) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

i keep getting problems with ts and strapi, id almost go back to directus because of it. consumes hours of my time of something that should be easy to cover.

// @ts-ignore

I’m using openapi-typescript

    "types:generate": "npx openapi-typescript ../cms/src/extensions/documentation/documentation/1.0.0/full_documentation.json -o src/api/strapi.d.ts",