some fixes on the TS interface of client-side api and TS conversation tool

This commit is contained in:
Ralf Becker
2020-02-09 12:27:39 +01:00
parent 46c66cc93e
commit 8dd03e3d07
4 changed files with 18 additions and 14 deletions

View File

@ -57,9 +57,6 @@ export interface PushData
* // Underscore private by convention
* }
* });
*
* @class AppJS
* @augments Class
*/
export abstract class EgwApp
{
@ -367,7 +364,7 @@ export abstract class EgwApp
* @param {string} template template name to check, instead of trying all templates of current app
* @return {boolean} false - Returns false to stop event propagation
*/
setState(state, template)
setState(state, template? : string)
{
// State should be an object, not a string, but we'll parse
if(typeof state == "string")