You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the behavior in every version I tried, and I reviewed the FAQ for entries about IDBObjectStorekeyPath.
🙁 Actual behavior
IDBObjectStore instance member keyPath does not include null in its union of types.
🙂 Expected behavior
All versions of the IndexedDB specification has stated that keyPath will be the key path value provided at time of store creation, or null if not specified or when using a key generation such as autoIncrement. The type should be string | string[] | null.
🔎 Search Terms
🕗 Version & Regression Information
🙁 Actual behavior
IDBObjectStore instance member
keyPath
does not includenull
in its union of types.🙂 Expected behavior
All versions of the IndexedDB specification has stated that
keyPath
will be the key path value provided at time of store creation, ornull
if not specified or when using a key generation such as autoIncrement. The type should bestring | string[] | null
.Additional information about the issue
keyPath
keyPath
keyPath
The text was updated successfully, but these errors were encountered: