IDBRequest result attribute typed as any #25547
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript Version: master
Search Terms: IDBRequest
Code
Expected behavior:
notValidKey
should not be accepted in the second argument tocreateObjectStore
Actual behavior: Since
req.result
is typed asany
, anything goesPlayground Link: link
Related Issues: none
The text was updated successfully, but these errors were encountered: