摘要: Example code: interface Fruit { name: string; price: number; } export const wrapFruit = <TFruits extends Fruit[]>(fruits: TFruits) => { const getFruit 阅读全文
posted @ 2023-05-03 01:55 Zhentiw 阅读(52) 评论(0) 推荐(0)