Export ValueOptions<T>.
This commit is contained in:
parent
5f4b882d79
commit
9fc2dbcbcb
|
@ -2,7 +2,7 @@ import browser from "webextension-polyfill";
|
||||||
|
|
||||||
export type StorageArea = browser.Storage.StorageArea;
|
export type StorageArea = browser.Storage.StorageArea;
|
||||||
|
|
||||||
type ValueOptions<T> = {
|
export type ValueOptions<T> = {
|
||||||
/** A function to convert a string to the type `T`. */
|
/** A function to convert a string to the type `T`. */
|
||||||
deserialize: (input: string) => T;
|
deserialize: (input: string) => T;
|
||||||
/** The key to use for storage. */
|
/** The key to use for storage. */
|
||||||
|
|
Loading…
Reference in New Issue