Upgrade our eslint config to the latest (#24647)
* Fix lint error in test-utils.ts * Upgrade eslint config (and separate projects to support it) * Handle possibility that req.error could be null
This commit is contained in:
parent
460f3d2a22
commit
3903e86d9c
5 changed files with 106 additions and 25 deletions
|
@ -34,7 +34,7 @@ export function deleteIndexedDB(dbName: string): Promise<void> {
|
|||
};
|
||||
|
||||
req.onerror = (ev): void => {
|
||||
reject(new Error(`${Date.now()}: unable to delete indexeddb ${dbName}: ${req.error}`));
|
||||
reject(new Error(`${Date.now()}: unable to delete indexeddb ${dbName}: ${req.error?.message}`));
|
||||
};
|
||||
|
||||
req.onsuccess = (): void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue