refactor: core, http & platform-webworker to remove public private class separation (#19143)
The private classes `ApplicationRef_`, `PlatformRef_`, `JSONPConnection_`, `JSONPBackend_`, `ClientMessageBrokerFactory_`, `ServiceMessageBroker_`, `ClientMessageBroker_` and `ServiceMessageBrokerFactory_` have been removed and merged into their public equivalents. The size of the minified umd bundles have been slightly decreased: | package | before | after | | -------------------|------------|------------| | core | 217.791 kb | 217.144 kb | | http | 33.260 kb | 32.838 kb | | platform-webworker | 56.015 kb | 54.933 kb | PR Close #19143
This commit is contained in:

committed by
Matias Niemelä

parent
0c44e733ad
commit
b6431c60e6
7
tools/public_api_guard/http/index.d.ts
vendored
7
tools/public_api_guard/http/index.d.ts
vendored
@ -79,15 +79,16 @@ export declare class Jsonp extends Http {
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
export declare abstract class JSONPBackend extends ConnectionBackend {
|
||||
export declare class JSONPBackend extends ConnectionBackend {
|
||||
createConnection(request: Request): JSONPConnection;
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
export declare abstract class JSONPConnection implements Connection {
|
||||
export declare class JSONPConnection implements Connection {
|
||||
readyState: ReadyState;
|
||||
request: Request;
|
||||
response: Observable<Response>;
|
||||
abstract finished(data?: any): void;
|
||||
finished(data?: any): void;
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
|
Reference in New Issue
Block a user