We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91681d5 commit b285e3bCopy full SHA for b285e3b
packages/core/src/index.ts
@@ -19,7 +19,7 @@ class AsyncStorageFactory {
19
20
static create<M = EmptyStorageModel>(
21
storage: IStorageBackend,
22
- opts: FactoryOptions | null = null,
+ opts?: FactoryOptions,
23
) {
24
return new AsyncStorage<M, IStorageBackend<M>>(
25
storage,
packages/core/types/index.d.ts
@@ -13,7 +13,7 @@
13
export default class AsyncStorageFactory {
14
15
16
- opts: FactoryOptions,
17
): AsyncStorage<M, IStorageBackend<M>>;
18
}
0 commit comments