Skip to content

@vtj


@vtj / utils / StorageOptions

Interface: StorageOptions

Defined in: packages/utils/src/storage.ts:3

Properties

expired

expired: number

Defined in: packages/utils/src/storage.ts:11

在多少毫秒后失效, 0为永不过期


prefix

prefix: string

Defined in: packages/utils/src/storage.ts:15

key前缀


type

type: "local" | "cache" | "session"

Defined in: packages/utils/src/storage.ts:7

存储类型

Released under the MIT License.