Skip to content

Commit

Permalink
Updating dependencies and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed May 18, 2021
1 parent a335694 commit edf7ace
Show file tree
Hide file tree
Showing 16 changed files with 2,095 additions and 344 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -471,7 +471,7 @@ interface MyDBV2 extends DBSchema {
const db = await openDB<MyDBV2>('my-db', 2, {
async upgrade(db, oldVersion) {
// Cast a reference of the database to the old schema.
const v1Db = (db as unknown) as IDBPDatabase<MyDBV1>;
const v1Db = db as unknown as IDBPDatabase<MyDBV1>;

if (oldVersion < 1) {
v1Db.createObjectStore('favourite-number');
Expand Down
2 changes: 1 addition & 1 deletion build/cjs/entry.d.ts.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/cjs/entry.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cjs/wrap-idb-value.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/cjs/wrap-idb-value.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/esm/entry.d.ts.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/esm/entry.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edf7ace

Please sign in to comment.