infer 介绍这里 例子有错误吧?

Author: xiaobaichiliangpiCreated Jul 8, 2021Updated Nov 11, 2022

`interface User { name: string; age: number; }

type Func = (user: User) => void;

type Param = ParamType; // Param = User type AA = ParamType; // string ` Param 应该是 [User]

Source: jkchao/typescript-book-chinese