From 0188e6df2ddd80b80dfcefa59f7d4ad355d71c8f Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 8 Jun 2022 13:24:25 -0600 Subject: [PATCH] Stop TS from complaining about data children by giving better type info --- api/js/egw_action/egw_action.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/egw_action/egw_action.d.ts b/api/js/egw_action/egw_action.d.ts index 84d79098a3..c7af7f2457 100644 --- a/api/js/egw_action/egw_action.d.ts +++ b/api/js/egw_action/egw_action.d.ts @@ -107,8 +107,8 @@ declare class egwAction { allowOnMultiple: boolean; enabled: any; hideOnDisabled: boolean; - data: {}; - type: string; + data : { [key : string] : any }; + type: string; canHaveChildren: boolean; parent: egwAction; children: any[];