chore(ts): use source import extensions

This commit is contained in:
Armin Ronacher
2026-05-20 00:04:03 +02:00
parent 06c6c324d7
commit ae9450dc51
259 changed files with 1483 additions and 1300 deletions
@@ -1,4 +1,4 @@
import type { IndexedDBConfig, StorageBackend, StorageTransaction } from "../types.js";
import type { IndexedDBConfig, StorageBackend, StorageTransaction } from "../types.ts";
/**
* IndexedDB implementation of StorageBackend.
@@ -6,8 +6,11 @@ import type { IndexedDBConfig, StorageBackend, StorageTransaction } from "../typ
*/
export class IndexedDBStorageBackend implements StorageBackend {
private dbPromise: Promise<IDBDatabase> | null = null;
private config: IndexedDBConfig;
constructor(private config: IndexedDBConfig) {}
constructor(config: IndexedDBConfig) {
this.config = config;
}
private async getDB(): Promise<IDBDatabase> {
if (!this.dbPromise) {