Merge pull request #1048 from huzaifahj/patch-1

Fix error TS2564
This commit is contained in:
Ferdi Koomen 2022-05-31 10:53:04 +02:00 committed by GitHub
commit 0dfebbdfc8
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;