Skip to content

ymcheung/react-i18next-typescript-array-example

Repository files navigation

Define types of an array for next.js and react-i18next in TypeScript

"react": ^17.0.2,
"next": ^12.1.6,
"typecript": ^4.5.5,
"next-i18next": ^11.0.0,

這組範例是用來記錄:next.jsnext-i18next 在使用 TypeScript 的時候,要如何定義陣列的型別。

詳全文:使用 react-i18next 的瑣碎注意事項