This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

FnArg

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

Constructor

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

Parameters

value

Type: any.

type

Type: Type | SerializerTypes.

Optional. Default is SerializerTypes.PRIMITIVE.

Properties

Property Description
value: any Declared in constructor.
type: Type<any> | SerializerTypes Declared in constructor.