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
New error: Argument of type '(result: Result) => void' is not assignable to parameter of type '(value: awaited Result) => void | PromiseLike<void>'
#37566
Closed
amcasey opened this issue
Mar 24, 2020
· 0 comments
· Fixed by #37610
packages/@css-blocks/core/src/util/PromiseQueue.ts:35:7 - error TS2345: Argument of type '(result: Result) => void' is not assignable to parameter of type '(value: awaited Result) => void | PromiseLike<void>'.
Types of parameters 'result' and 'value' are incompatible.
Type 'awaited Result' is not assignable to type 'Result'.
'Result' could be instantiated with an arbitrary type which could be unrelated to 'awaited Result'.
35 (result: Result) => {
~~~~~~~~~~~~~~~~~~~~~
To repro:
yarn
tsc -b -f packages
The text was updated successfully, but these errors were encountered:
https://github.com/linkedin/css-blocks/blob/6023475e9ab9a01cda6daa71986a9b4932c16ecd/packages/@css-blocks/core/src/util/PromiseQueue.ts#L35
To repro:
yarn
tsc -b -f packages
The text was updated successfully, but these errors were encountered: