From b2a378a3b28a0a7a74c95c0e41479b7e71482661 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Thu, 23 Oct 2025 17:04:24 +0700 Subject: [PATCH] chore(lib/storage): document default options --- lib/storage/src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/storage/src/index.ts b/lib/storage/src/index.ts index 2ded10a..e63f37d 100644 --- a/lib/storage/src/index.ts +++ b/lib/storage/src/index.ts @@ -130,14 +130,20 @@ export function getStorage( export interface StorageOptions { /** * The directory of the storage file. + * + * @default 'documents' */ directory?: StorageDirectory /** * The default value to use for the storage. This will also be used for cache. + * + * @default {} */ default?: T /** * Automatically load the storage after creating the instance. + * + * @default false */ load?: boolean }