Fix error TS2564

This commit is contained in:
huzaifahj 2022-05-23 11:40:20 +01:00 committed by GitHub
parent 59254d94a9
commit 9e9c5923de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ export interface OnCancel {
}
export class CancelablePromise<T> implements Promise<T> {
readonly [Symbol.toStringTag]: string;
readonly [Symbol.toStringTag]!: string;
private _isResolved: boolean;
private _isRejected: boolean;