You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because `Promise<T>` doesn't use the type `T` as a member and only in functions. The function type compatability rules allow the promise's to be compatible in this case.
17
+
18
+
### Fix
19
+
20
+
You can add the following to increase `Promise` type safety (do it globally):
0 commit comments