feat: add support for TypeScript 3.1 (#26151)

PR Close #26151
This commit is contained in:
Igor Minar
2018-09-27 16:47:19 -07:00
committed by Alex Rickabaugh
parent f455518d80
commit 9993c72335
22 changed files with 34 additions and 136 deletions

View File

@ -1497,8 +1497,8 @@ export interface HttpDownloadProgressEvent extends HttpProgressEvent {
export declare class HttpErrorResponse extends HttpResponseBase implements Error {
readonly error: any | null;
readonly message: string;
readonly name: string;
readonly ok: boolean;
readonly name = "HttpErrorResponse";
readonly ok = false;
constructor(init: {
error?: any;
headers?: HttpHeaders;

View File

@ -26,7 +26,7 @@ export declare const APP_ID: InjectionToken<string>;
export declare const APP_INITIALIZER: InjectionToken<(() => void)[]>;
export declare class ApplicationInitStatus {
readonly done: boolean;
readonly done = false;
readonly donePromise: Promise<any>;
constructor(appInits: (() => any)[]);
}
@ -624,7 +624,7 @@ export declare abstract class Query {
export declare class QueryList<T> {
readonly changes: Observable<any>;
readonly dirty: boolean;
readonly dirty = true;
readonly first: T;
readonly last: T;
readonly length: number;