Skip to content

Commit 067fd5c

Browse files
huzaifahjmoretalk
authored andcommitted
Fix error TS2564
(cherry picked from commit 9e9c592)
1 parent cc7d674 commit 067fd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/core/CancelablePromise.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface OnCancel {
2020
}
2121

2222
export class CancelablePromise<T> implements Promise<T> {
23-
readonly [Symbol.toStringTag]: string = "Promise";
23+
readonly [Symbol.toStringTag]!: string;
2424

2525
#isPending: boolean;
2626
#isCancelled: boolean;

0 commit comments

Comments
 (0)