I know there is a Shared type, and that I could probably import that:
import { Shared } from '@strapi/types';
And then
type RetailPointsPage = Shared.ContentTypes['api::blog-post.blog-post'];
But this doesn’t seem to work, and importing like this is cumbersome.
Is there maybe some configuration I have to add, to be able to import proper types?
This topic has been created from a Discord post (1251556127745769472) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord