This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Typescript - Using the 'model.ts' file [ I added a post at the bottom on guide to implement Strapi types in the frontend. #102
Labels
Hi,
I'm looking at the project code and the way you've configured Strapi to see the different options and possibilities offered by the CMS.
I notice that there's a file named 'model.ts' located in 'frontend\src\app[lang]\utils\model.ts'. However, this file is never called up, so the interfaces are never used.
Is this intentional or an oversight ?
For example, the file named 'Hero.tsx' located in 'frontend\src\app[lang]\components\Hero.tsx' has a 'Picture' interface, but it could use the one in the 'Model' file.
The text was updated successfully, but these errors were encountered: