Open devnomic opened 1 year ago
I don't know how to solve this with types. For now, I would just say to use the promise instead of the flattened promise in cases like this.
If anyone knows how to resolve this issue with the types, I'd appreciate a PR.
Using flatten promise on idb
put
works, but not working on idbtransaction
, perhaps becausetransaction
has 2 declarations?Screenshot
idb transaction
If i use idb directly there is no linting error.