摘要:
For the following code: import { CSSProperties } from 'react'; const useStyled = <TTheme = {}>(func: (theme: TTheme) => CSSProperties) => { return {} 阅读全文
posted @ 2023-02-25 20:45
Zhentiw
阅读(17)
评论(0)
推荐(0)
摘要:
const returnsValueOnly = <T>(t: T) => { return t; } const result = returnsValueOnly("a"); // const returnsValueOnly: <"a">(t: "a") => "a" const return 阅读全文
posted @ 2023-02-25 15:53
Zhentiw
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号