Skip to content

Files

Latest commit

 

History

History
12 lines (9 loc) · 392 Bytes

File metadata and controls

12 lines (9 loc) · 392 Bytes

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 的瑣碎注意事項