From aaf0bf44dea4c44a7c6cfc40877bc87c0c513286 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Tue, 11 Jan 2022 18:31:29 +0700 Subject: [PATCH] allow void return --- 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 d5c303a888..fe182b16d5 100644 --- a/src/runtime/action/index.ts +++ b/src/runtime/action/index.ts @@ -4,5 +4,5 @@ export interface ActionReturn { } export interface Action { - (node: HTMLElement, parameters: Parameters): ActionReturn; + (node: HTMLElement, parameters: Parameters): void | ActionReturn; }