Skip to content

Commit

Permalink
Fix grammar in the "TypeScript development" docs (#2232)
Browse files Browse the repository at this point in the history
  • Loading branch information
imcarlosguerrero authored Sep 23, 2024
1 parent 76dca54 commit ffb78b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/typescript/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ To do that, edit the `tsconfig.json` of the Strapi project and add `types/genera
However, if you still want to use the generated types on your project, but don't want Strapi to use them, a workaround could be to copy those generated types and paste them outside of the `generated` directory (so that they aren't overwritten when the types are regenerated) and remove the `declare module '@strapi/types'` from the bottom of the file.

:::warning
Types should only be imported from `@strapi/strapi` to avoid breaking changes. The types in `@strapi/types` is for internal use only and is subject to change without notice.
Types should only be imported from `@strapi/strapi` to avoid breaking changes. The types in `@strapi/types` are for internal use only and may change without notice.
:::

## Start Strapi programmatically
Expand Down

0 comments on commit ffb78b3

Please sign in to comment.