FnArg

class FnArg { constructor(value: any, type: Type<any> | SerializerTypes = SerializerTypes.PRIMITIVE) value: any type: Type<any> | SerializerTypes }

构造函数

constructor(value: any, type: Type<any> | SerializerTypes = SerializerTypes.PRIMITIVE)

参数

value

Type: any.

type

Type: Type | SerializerTypes.

可选. 默认值是 SerializerTypes.PRIMITIVE.

属性

属性名类型说明
value声明于构造函数中
type声明于构造函数中