-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IDBFactory.databases() method to lib.DOM #36706
Comments
Indeed it's missing. I had to do this as temporary workaround declare global {
interface IDBFactory {
databases: () => Promise<{ name: string, version: number }[]>;
}
} |
It appears there was an issue opened related to this already, #37317. If you feel it is appropriate, @RyanCavanaugh , feel free to close it and defer to that issue. It looks like a PR was made by @fritzschoff, but they made changes to some generated files and the PR ended up closed without merge. I've got the changes done myself to the lib/dom file (not the generated one), but it seems this: a) would need coordinated with the TS-Generated repo? To get the generated declaration files updated from the lib/dom file changes made in my local I'll throw up my PR nonetheless and if no one likes it yet, feel free to cut it down :D |
I guess Firefox is the bottleneck here |
It looks like my PR got auto-closed for a similar reason as yours, @fritzschoff. Even though I didn't even touch the /src/lib/.generated files? So, 🤷 I'm over it. |
This got added in 9ebe11c |
As noted above, this was fixed in #44684. |
Search Terms
idbfactory databases
Suggestion
TypeScript/lib/lib.dom.d.ts
Line 9386 in fa3173f
Should be adjusted to include the databases() method specified in:
Use Cases
Getting a list of all IndexedDB databases controlled by a window
Examples
Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: