Skip to content

Commit bcf6ff7

Browse files
jl4gunaassuncaocharles
authored andcommitted
Added missing prop
Hello, just added `clear()` to props because it was not defined
1 parent a139934 commit bcf6ff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/indexed-context.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ interface AccessDBProps {
5454
deleteRecord: (key: Key) => Promise<any>;
5555
openCursor: (cursorCallback: (event: Event) => void, keyRange?: IDBKeyRange) => Promise<void>;
5656
getByIndex: (indexName: string, key: any) => Promise<any>;
57+
clear: () => Promise<any>;
5758
}) => {};
5859
objectStore: string;
5960
}

0 commit comments

Comments
 (0)