Skip to content

Commit

Permalink
Fix grammar in the "TypeScript development" docs (#2184)
Browse files Browse the repository at this point in the history
Corrected grammar in the TypeScript development docs regarding the proper path for importing types.
  • Loading branch information
imcarlosguerrero committed Aug 29, 2024
1 parent 34955b4 commit 5364fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ However, if you still want to use the generated types on your project but don't
aren't overwritten when the types are regenerated) and remove the `declare module '@strapi/types'` on 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.
:::

## Develop a plugin using TypeScript
Expand Down

0 comments on commit 5364fb4

Please sign in to comment.