Closed Fa-haxiki closed 2 years ago
interface User { name: string; age: number; } type Func = (user: User) => void; type Param = ParamType<Func>;
Param返回的应该是一个[user: User]
Param
[user: User]
前面有个 pr 改了
Param
返回的应该是一个[user: User]