Partial<Type>
构造一个将 Type
的所有属性设置为可选的类型。此实用程序将返回一个表示给定类型的所有子集的类型。
Constructs a type with all properties of Type
set to optional. This utility will return a type that represents all subsets of a given type.
构造一个将 Type
的所有属性设置为可选的类型。此实用程序将返回一个表示给定类型的所有子集的类型。
Constructs a type with all properties of Type
set to optional. This utility will return a type that represents all subsets of a given type.