Stop TS from complaining about data children by giving better type info

This commit is contained in:
nathan 2022-06-08 13:24:25 -06:00
parent 9b1923467d
commit 0188e6df2d

View File

@ -107,8 +107,8 @@ declare class egwAction {
allowOnMultiple: boolean; allowOnMultiple: boolean;
enabled: any; enabled: any;
hideOnDisabled: boolean; hideOnDisabled: boolean;
data: {}; data : { [key : string] : any };
type: string; type: string;
canHaveChildren: boolean; canHaveChildren: boolean;
parent: egwAction; parent: egwAction;
children: any[]; children: any[];