1
Fork 0

Export ValueOptions<T>.

This commit is contained in:
Bauke 2022-12-28 12:35:46 +01:00
parent 5f4b882d79
commit 9fc2dbcbcb
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import browser from "webextension-polyfill";
export type StorageArea = browser.Storage.StorageArea;
type ValueOptions<T> = {
export type ValueOptions<T> = {
/** A function to convert a string to the type `T`. */
deserialize: (input: string) => T;
/** The key to use for storage. */