From ae01d6acaaffd4b5aa889fd569a7afa26d684357 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Fri, 11 Feb 2022 18:43:54 +0700 Subject: [PATCH] reverse the order of generics --- 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..d170e0589e 100644 --- a/src/runtime/action/index.ts +++ b/src/runtime/action/index.ts @@ -3,6 +3,6 @@ export interface ActionReturn { destroy?: () => void; } -export interface Action { +export interface Action { (node: Node, parameters?: Parameters): void | ActionReturn; }