We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
indexedDB
How can I use indexedDB for Chrome inspect debugging?
Sample code
export class ProductDatabase { constructor(private name: string, private version: number) { const openDatabaseRequest = indexedDB.open(this.name, this.version); openDatabaseRequest.onupgradeneeded = this.upgrade; } }
Error
error: Uncaught ReferenceError: indexedDB is not defined const openDatabaseRequest = indexedDB.open(this.name, this.version);
Running command
$ deno run --inspect-brk --allow-read --allow-net --config tsconfig.json db.ts
tsconfig.json
{ "compilerOptions": { "lib": [ "deno.ns", "dom" ], "plugins": [ { "name": "typescript-deno-plugin" } ] } }
The text was updated successfully, but these errors were encountered:
IndexedDB is not yet implemented in Deno, see #1699
Sorry, something went wrong.
Thank you for your reply. understood.
No branches or pull requests
How can I use
indexedDB
for Chrome inspect debugging?Sample code
Error
error: Uncaught ReferenceError: indexedDB is not defined const openDatabaseRequest = indexedDB.open(this.name, this.version);
Running command
tsconfig.json
The text was updated successfully, but these errors were encountered: