refactor(platform-webworker): remove deprecated `PRIMITIVE` (#18761)
BREAKING CHANGE: `PRIMITIVE` has been removed as it was deprecated since v4. Use `SerializerTypes.PRIMITIVE` instead. PR Close #18761
This commit is contained in:
parent
d7f42bfbe6
commit
a56468cf2f
|
@ -13,7 +13,7 @@ import {WORKER_SCRIPT, platformWorkerUi} from './worker_render';
|
||||||
export {VERSION} from './version';
|
export {VERSION} from './version';
|
||||||
export {ClientMessageBroker, ClientMessageBrokerFactory, FnArg, UiArguments} from './web_workers/shared/client_message_broker';
|
export {ClientMessageBroker, ClientMessageBrokerFactory, FnArg, UiArguments} from './web_workers/shared/client_message_broker';
|
||||||
export {MessageBus, MessageBusSink, MessageBusSource} from './web_workers/shared/message_bus';
|
export {MessageBus, MessageBusSink, MessageBusSource} from './web_workers/shared/message_bus';
|
||||||
export {PRIMITIVE, SerializerTypes} from './web_workers/shared/serializer';
|
export {SerializerTypes} from './web_workers/shared/serializer';
|
||||||
export {ReceivedMessage, ServiceMessageBroker, ServiceMessageBrokerFactory} from './web_workers/shared/service_message_broker';
|
export {ReceivedMessage, ServiceMessageBroker, ServiceMessageBrokerFactory} from './web_workers/shared/service_message_broker';
|
||||||
export {WORKER_UI_LOCATION_PROVIDERS} from './web_workers/ui/location_providers';
|
export {WORKER_UI_LOCATION_PROVIDERS} from './web_workers/ui/location_providers';
|
||||||
export {WORKER_APP_LOCATION_PROVIDERS} from './web_workers/worker/location_providers';
|
export {WORKER_APP_LOCATION_PROVIDERS} from './web_workers/worker/location_providers';
|
||||||
|
|
|
@ -22,14 +22,6 @@ export const enum SerializerTypes {
|
||||||
RENDER_STORE_OBJECT,
|
RENDER_STORE_OBJECT,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Any type that does not need to be serialized (string, number, boolean)
|
|
||||||
*
|
|
||||||
* @experimental WebWorker support in Angular is currently experimental.
|
|
||||||
* @deprecated in v4. Use SerializerTypes.PRIMITIVE instead
|
|
||||||
*/
|
|
||||||
export const PRIMITIVE = SerializerTypes.PRIMITIVE;
|
|
||||||
|
|
||||||
export class LocationType {
|
export class LocationType {
|
||||||
constructor(
|
constructor(
|
||||||
public href: string, public protocol: string, public host: string, public hostname: string,
|
public href: string, public protocol: string, public host: string, public hostname: string,
|
||||||
|
|
|
@ -46,9 +46,6 @@ export declare const platformWorkerApp: (extraProviders?: StaticProvider[] | und
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
|
||||||
|
|
||||||
/** @experimental */
|
|
||||||
export declare const PRIMITIVE: SerializerTypes;
|
|
||||||
|
|
||||||
/** @experimental */
|
/** @experimental */
|
||||||
export interface ReceivedMessage {
|
export interface ReceivedMessage {
|
||||||
args: any[];
|
args: any[];
|
||||||
|
|
Loading…
Reference in New Issue