W3cubDocs

/Angular

PRIMITIVE

const deprecated experimental

npm Package @angular/platform-webworker
Module import { PRIMITIVE } from '@angular/platform-webworker';
Source platform-webworker/src/web_workers/shared/serializer.ts

Deprecation Notes

in v4. Use SerializerTypes.PRIMITIVE instead

const PRIMITIVE: any;

Description

Any type that does not need to be serialized (string, number, boolean)

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