Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
안녕하세요, 우연히 깃허브가 추천해준 레포로 떠서 둘러보던 중에 i18next에 typescript 를 적용시킬 수 있는 방법이 떠올라서 기여하면 좋겠다는 생각에 PR을 남기게 되었습니다!!
Overview
I Add d.ts file for using i18next by typed.
Screenshots
Before
After
Questions
next-i18next.config.js 파일을 import 해서 next.config.js 의 i18n 설정을 넣어주면 다른 설정을 굳이 할 필요가 없는데,
지금처럼 Redirect 처리를 하시거나, locale을 확인하는 등의 코드들로 작업하신 이유가 있으신가요?!