From c7adb027434ddeca2593562d7779932304747be5 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Wed, 12 Jan 2022 15:46:54 +0700 Subject: [PATCH] make parameters in update optional too --- src/runtime/action/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/action/index.ts b/src/runtime/action/index.ts index 3292508505..97e7ca3da0 100644 --- a/src/runtime/action/index.ts +++ b/src/runtime/action/index.ts @@ -1,5 +1,5 @@ export interface ActionReturn { - update?: (parameters: Parameters) => void; + update?: (parameters?: Parameters) => void; destroy?: () => void; }