MartinMalinda / vue-concurrency

A library for encapsulating asynchronous operations and managing concurrency for Vue and Composition API.
https://vue-concurrency.netlify.app/
MIT License
350 stars 15 forks source link

Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member. #12

Closed MartinMalinda closed 4 years ago

MartinMalinda commented 4 years ago

This happens with newest versions of TS. It seems to happen only in certain cases, possible when task has some unknown types.

MartinMalinda commented 4 years ago

Fixed in https://github.com/MartinMalinda/vue-concurrency/commit/983be3b6d68509de6e9fbfccdb30498638a18775

Released in 0.4.3