diff --git a/src/matrix/storage/idb/QueryTarget.ts b/src/matrix/storage/idb/QueryTarget.ts index 91756129..e3b77810 100644 --- a/src/matrix/storage/idb/QueryTarget.ts +++ b/src/matrix/storage/idb/QueryTarget.ts @@ -21,12 +21,12 @@ type Reducer = (acc: B, val: A) => B export type IDBQuery = IDBValidKey | IDBKeyRange | undefined | null interface QueryTargetInterface { - openCursor: (range?: IDBQuery, direction?: IDBCursorDirection | undefined) => IDBRequest; - openKeyCursor: (range?: IDBQuery, direction?: IDBCursorDirection | undefined) => IDBRequest; - supports: (method: string) => boolean; + openCursor(range?: IDBQuery, direction?: IDBCursorDirection | undefined): IDBRequest; + openKeyCursor(range?: IDBQuery, direction?: IDBCursorDirection | undefined): IDBRequest; + supports(method: string): boolean; keyPath: string | string[]; - get: (key: IDBValidKey | IDBKeyRange) => IDBRequest; - getKey: (key: IDBValidKey | IDBKeyRange) => IDBRequest; + get(key: IDBValidKey | IDBKeyRange): IDBRequest; + getKey(key: IDBValidKey | IDBKeyRange): IDBRequest; } export class QueryTarget {