From 5bf637b9789e15d8a635b9fedf461419795013e4 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 4 Jan 2022 15:39:19 +0900 Subject: [PATCH] return reset value --- packages/client/src/pizzax.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client/src/pizzax.ts b/packages/client/src/pizzax.ts index a0c9a1badf..867d2f9bd3 100644 --- a/packages/client/src/pizzax.ts +++ b/packages/client/src/pizzax.ts @@ -177,6 +177,7 @@ export class Storage { public reset(key: keyof T) { this.set(key, this.def[key].default); + return this.def[key].default; } /**