Skip to content

Commit 67d2633

Browse files
committed
refactor: 💡 Added typing to the local storage initializer
1 parent ef383ac commit 67d2633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/storage/local.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export class LocalStorage extends Storage {
222222
/**
223223
* Local storage configuration
224224
*/
225-
export const createInitializer: StorageInitializerFunction =
225+
export const createInitializer: StorageInitializerFunction<LocalStorage> =
226226
(options?: LocalStorageOptions) =>
227227
// eslint-disable-next-line @typescript-eslint/require-await
228228
async (): Promise<LocalStorage> => {

0 commit comments

Comments
 (0)