docs(platform-webworker): mark all public APIs as deprecated (#33824)

In ccc76f749, `@angular/platform-webworker` and
`@angular/platform-webworker-dynamic` were deprecated (i.e. by
deprecating all their public APIs). However, some public
`@angular/platform-webworker` APIs were accidentally missed,
additionally resulting in the package itself not showing up as
deprecated on angular.io.

This commit fixes it by marking those remaining public APIs as
deprecated.

PR Close #33824
This commit is contained in:
George Kalpakas
2019-11-14 15:56:36 +02:00
committed by Alex Rickabaugh
parent 0e20453273
commit dafdf9a87b
4 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,7 @@ export declare class ClientMessageBrokerFactory {
createMessageBroker(channel: string, runInZone?: boolean): ClientMessageBroker;
}
/** @deprecated */
export declare class FnArg {
type: Type<any> | SerializerTypes;
value: any;
@ -25,12 +26,14 @@ export declare abstract class MessageBus implements MessageBusSource, MessageBus
abstract to(channel: string): EventEmitter<any>;
}
/** @deprecated */
export interface MessageBusSink {
attachToZone(zone: NgZone): void;
initChannel(channel: string, runInZone: boolean): void;
to(channel: string): EventEmitter<any>;
}
/** @deprecated */
export interface MessageBusSource {
attachToZone(zone: NgZone): void;
from(channel: string): EventEmitter<any>;
@ -40,6 +43,7 @@ export interface MessageBusSource {
/** @deprecated */
export declare const platformWorkerApp: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
/** @deprecated */
export declare const platformWorkerUi: (extraProviders?: StaticProvider[] | undefined) => import("@angular/core").PlatformRef;
/** @deprecated */
@ -67,6 +71,7 @@ export declare class ServiceMessageBrokerFactory {
createMessageBroker(channel: string, runInZone?: boolean): ServiceMessageBroker;
}
/** @deprecated */
export declare class UiArguments {
args?: FnArg[] | undefined;
method: string;