Skip to content

Make sure to import the type 'BaseTranslation' from the generated 'i18n-types.ts' file. #677

Answered by ivanhofer
notflip asked this question in Q&A
Discussion options

You must be logged in to vote

You must import the types BaseTranslation and Translation via a relative path. This is a limitation due to TypeScript needing to resolve all imports in a locale folder.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by notflip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants