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 a018a63 commit 1e51434Copy full SHA for 1e51434
README.md
@@ -153,9 +153,9 @@ The custom provider must match the interface.
153
154
```ts
155
interface StorageProvider {
156
- get: (key: string) => string | null | undefined;
157
- set: (key: string, value: string) => void;
158
- remove: (key: string) => void;
+ get: (key: string) => Promise<string | null | undefined>;
+ set: (key: string, value: string) => Promise<void>;
+ remove: (key: string) => Promise<void>;
159
}
160
```
161
0 commit comments