TypeScript has better ways of doing this, using a combination of two new concepts: type ProductStrings = Record<keyof Product, string>;.
確定! 回上一頁