W3cubDocs

/Angular 10

FnArg

class deprecated

Deprecated: platform-webworker is deprecated in Angular and will be removed in a future version of Angular

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)

Parameters
value any
type Type | SerializerTypes

Optional. Default is SerializerTypes.PRIMITIVE.

Properties

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

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/platform-webworker/FnArg