From 849291889ed0817b867adb0de326ad56eb0ab4ba Mon Sep 17 00:00:00 2001 From: ralf Date: Sat, 7 May 2022 11:35:27 +0200 Subject: [PATCH] fix some TypeScript errors displayed by IDE in new ExposeMixing --- api/js/jsapi/egw_global.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/jsapi/egw_global.d.ts b/api/js/jsapi/egw_global.d.ts index 40c022a65e..eed999d021 100644 --- a/api/js/jsapi/egw_global.d.ts +++ b/api/js/jsapi/egw_global.d.ts @@ -13,7 +13,7 @@ * @author Andreas Stöckel */ -//import {EgwApp} from "./egw_app"; +import type {EgwApp} from "./egw_app"; /** * Global egw object (for now created by the diverse JavaScript files) with a TypeScript interface @@ -1348,7 +1348,7 @@ declare function egw_getWindowOuterHeight() : number; * @param {string} _mime current mime type * @returns {object|null} returns object of filemanager editor hook */ -declare function egw_get_file_editor_prefered_mimes(_mime : string) : {mime:string,edit:any,edit_popup?:any}|null; +declare function egw_get_file_editor_prefered_mimes(_mime : string) : {mime:object, edit:any, edit_popup?:any}|null; // Youtube API golbal vars declare var YT : any;