build: typescript 3.7 support (#33717)

This PR updates TypeScript version to 3.7 while retaining compatibility with TS3.6.

PR Close #33717
This commit is contained in:
Andrius
2019-11-09 20:36:22 +02:00
committed by atscott
parent d7ea389c84
commit 1f79e624d1
25 changed files with 342 additions and 192 deletions

View File

@ -3,7 +3,7 @@ export declare class ServiceWorkerModule {
}
export declare class SwPush {
readonly isEnabled: boolean;
get isEnabled(): boolean;
readonly messages: Observable<object>;
readonly notificationClicks: Observable<{
action: string;
@ -28,7 +28,7 @@ export declare abstract class SwRegistrationOptions {
export declare class SwUpdate {
readonly activated: Observable<UpdateActivatedEvent>;
readonly available: Observable<UpdateAvailableEvent>;
readonly isEnabled: boolean;
get isEnabled(): boolean;
constructor(sw: NgswCommChannel);
activateUpdate(): Promise<void>;
checkForUpdate(): Promise<void>;