From c1724062f115835c3a856698936e85d4f4d7c64d Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 19 Oct 2018 18:08:53 +0100 Subject: [PATCH] docs: update platform-webworker to use `@publicApi` tags (#26595) PR Close #26595 --- .../platform-webworker-dynamic.d.ts | 1 - .../platform-webworker/platform-webworker.d.ts | 17 ----------------- 2 files changed, 18 deletions(-) diff --git a/tools/public_api_guard/platform-webworker-dynamic/platform-webworker-dynamic.d.ts b/tools/public_api_guard/platform-webworker-dynamic/platform-webworker-dynamic.d.ts index d0ceddb3c0..8b8e2110a5 100644 --- a/tools/public_api_guard/platform-webworker-dynamic/platform-webworker-dynamic.d.ts +++ b/tools/public_api_guard/platform-webworker-dynamic/platform-webworker-dynamic.d.ts @@ -1,4 +1,3 @@ -/** @experimental */ export declare const platformWorkerAppDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; export declare const VERSION: Version; diff --git a/tools/public_api_guard/platform-webworker/platform-webworker.d.ts b/tools/public_api_guard/platform-webworker/platform-webworker.d.ts index 78f321e3f4..d9d000f23b 100644 --- a/tools/public_api_guard/platform-webworker/platform-webworker.d.ts +++ b/tools/public_api_guard/platform-webworker/platform-webworker.d.ts @@ -1,24 +1,19 @@ -/** @experimental */ export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: StaticProvider[]): Promise; -/** @experimental */ export declare class ClientMessageBroker { runOnService(args: UiArguments, returnType: Type | SerializerTypes | null): Promise | null; } -/** @experimental */ export declare class ClientMessageBrokerFactory { createMessageBroker(channel: string, runInZone?: boolean): ClientMessageBroker; } -/** @experimental */ export declare class FnArg { type: Type | SerializerTypes; value: any; constructor(value: any, type?: Type | SerializerTypes); } -/** @experimental */ export declare abstract class MessageBus implements MessageBusSource, MessageBusSink { abstract attachToZone(zone: NgZone): void; abstract from(channel: string): EventEmitter; @@ -26,27 +21,22 @@ export declare abstract class MessageBus implements MessageBusSource, MessageBus abstract to(channel: string): EventEmitter; } -/** @experimental */ export interface MessageBusSink { attachToZone(zone: NgZone): void; initChannel(channel: string, runInZone: boolean): void; to(channel: string): EventEmitter; } -/** @experimental */ export interface MessageBusSource { attachToZone(zone: NgZone): void; from(channel: string): EventEmitter; initChannel(channel: string, runInZone: boolean): void; } -/** @experimental */ export declare const platformWorkerApp: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; -/** @experimental */ export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => PlatformRef; -/** @experimental */ export interface ReceivedMessage { args: any[]; id: string; @@ -54,24 +44,20 @@ export interface ReceivedMessage { type: string; } -/** @experimental */ export declare const enum SerializerTypes { RENDERER_TYPE_2 = 0, PRIMITIVE = 1, RENDER_STORE_OBJECT = 2 } -/** @experimental */ export declare class ServiceMessageBroker { registerMethod(methodName: string, signature: Array | SerializerTypes> | null, method: (..._: any[]) => Promise | void, returnType?: Type | SerializerTypes): void; } -/** @experimental */ export declare class ServiceMessageBrokerFactory { createMessageBroker(channel: string, runInZone?: boolean): ServiceMessageBroker; } -/** @experimental */ export declare class UiArguments { args?: FnArg[] | undefined; method: string; @@ -80,7 +66,6 @@ export declare class UiArguments { export declare const VERSION: Version; -/** @experimental */ export declare const WORKER_APP_LOCATION_PROVIDERS: ({ provide: typeof PlatformLocation; useClass: typeof WebWorkerPlatformLocation; @@ -101,9 +86,7 @@ export declare const WORKER_APP_LOCATION_PROVIDERS: ({ multi?: undefined; })[]; -/** @experimental */ export declare const WORKER_UI_LOCATION_PROVIDERS: StaticProvider[]; -/** @experimental */ export declare class WorkerAppModule { }