Skip to content

Commit

Permalink
Merge pull request #980 from Glandos/patch-1
Browse files Browse the repository at this point in the history
Update localforage.d.ts
  • Loading branch information
tofumatt committed Jul 31, 2020
2 parents 38c207d + 19c67f4 commit b38ba45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/localforage.d.ts
Expand Up @@ -15,7 +15,7 @@ interface LocalForageOptions extends LocalForageDbInstanceOptions {
}

interface LocalForageDbMethodsCore {
getItem<T>(key: string, callback?: (err: any, value: T) => void): Promise<T>;
getItem<T>(key: string, callback?: (err: any, value: T | null) => void): Promise<T | null>;

setItem<T>(key: string, value: T, callback?: (err: any, value: T) => void): Promise<T>;

Expand Down

0 comments on commit b38ba45

Please sign in to comment.