Closed
Description
From lensapp/lens:
- src/common/k8s-api/endpoints/metrics.api.ts#L85 - Due to an inference issue in Adds 'Awaited' type alias and updates to Promise.all/race/allSettled/any #45350 as a result of
getAwaitedType
returning anAwaited<T>
instantiation when checking return statements.
Originally posted by @rbuckton in #45846 (comment)
We're checking return type assignability and end up with a T
from unwrapping the return type annotation but an Awaited<T>
from checking the ReturnStatement's expression.
Metadata
Metadata
Assignees
Labels
No labels