From b5eb1a78b871e376950a9980ea0363948e88721b Mon Sep 17 00:00:00 2001 From: Dany LE Date: Wed, 24 Nov 2021 22:42:19 +0100 Subject: [PATCH] update API --- libantosdk/core/ts/antos.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libantosdk/core/ts/antos.d.ts b/libantosdk/core/ts/antos.d.ts index 74b0f5c..5b16697 100644 --- a/libantosdk/core/ts/antos.d.ts +++ b/libantosdk/core/ts/antos.d.ts @@ -920,7 +920,7 @@ declare namespace OS { * @export * @interface AnnouncementDataType */ - interface AnnouncementDataType { + interface AnnouncementDataType { /** * message string * @@ -962,7 +962,7 @@ declare namespace OS { * @type {*} * @memberof AppAnnouncementDataType */ - u_data?: any; + u_data?: T; } /** * Observable entry type definition @@ -1114,10 +1114,10 @@ declare namespace OS { * * @export * @param {string} e event name - * @param {(d: API.AnnouncementDataType) => void} f event callback + * @param {(d: API.AnnouncementDataType) => void} f event callback * @param {GUI.BaseModel} a the process (Application/service) related to the callback */ - function on(e: string, f: (d: API.AnnouncementDataType) => void, a: BaseModel): void; + function on(e: string, f: (d: API.AnnouncementDataType) => void, a: BaseModel): void; /** * Trigger a global event * @@ -4716,11 +4716,11 @@ declare namespace OS { * * @protected * @param {string} e event name - * @param {(d: API.AnnouncementDataType) => void} f event callback + * @param {(d: API.AnnouncementDataType) => void} f event callback * @returns {void} * @memberof BaseModel */ - subscribe(e: string, f: (d: API.AnnouncementDataType) => void): void; + subscribe(e: string, f: (d: API.AnnouncementDataType) => void): void; /** * Open a dialog *