deleteDatabase.d.ts 416 B

1234567891011
  1. import '../_version.js';
  2. /**
  3. * Deletes the database.
  4. * Note: this is exported separately from the DBWrapper module because most
  5. * usages of IndexedDB in workbox dont need deleting, and this way it can be
  6. * reused in tests to delete databases without creating DBWrapper instances.
  7. *
  8. * @param {string} name The database name.
  9. * @private
  10. */
  11. export declare const deleteDatabase: (name: string) => Promise<void>;