`objectStoreNames`'s type seems wrong
See original GitHub issuehttps://github.com/jakearchibald/idb/blob/809a75ccc31c46ac62174ff9c2c10efffa5a53df/lib/entry.ts#L149
As far as I can tell, within my browser, this method returns a DOMStringList
, which is not an array.
In particular, it contains a method contains
, and does not contain array methods such as indexOf
, which leads to both static and run-time errors.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Here's Why Your Personality Test Results Might Be Wrong
Not sure what your personality type is? Personality Hacker has the most accurate free online personality indicator I've been able to find.
Read more >7 Ways You Might Be Using Personality Type Wrong
I'm a huge fan of Myers-Briggs personality types, but I come in ... But, in my opinion, here are 7 ways people use...
Read more >7 Reasons Why You Might Be Wrong About Your Personality ...
Remember that, at the end of the day, no type is better or worse than the other, and you're much more than a...
Read more >Why the Myers-Briggs test is totally meaningless - Vox
The test claims that based on 93 questions, it can group all the people of the world into 16 different discrete "types" —...
Read more >Why Your Myers-Briggs Personality Type Is Meaningless
The most popular personality test,The Myers-Briggs, isn't reliable or valid. So, why does everyone keep taking it?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll fix this tomorrow
I think there’s still an issue with
objectStoreNames
when it is accessed off a transaction: https://github.com/jakearchibald/idb/blob/abce3c7c2fe4b3cfe4e1eb77f41ffaf0c79fd073/src/entry.ts#L531It is array like, rather than DOMStringList. Just got burnt by this in a migration where I used
includes
instead ofcontains
😞