This commit is contained in:
Dany LE
2021-11-24 22:37:49 +01:00
parent 3a24df169c
commit 3c67b1c134
6 changed files with 20 additions and 20 deletions

View File

@ -115,7 +115,7 @@ namespace OS {
* @param {API.AnnouncementDataType} o
* @memberof PushNotification
*/
private addLog(s: string, o: API.AnnouncementDataType): void {
private addLog(s: string, o: API.AnnouncementDataType<any>): void {
const logtime = new Date();
const log = {
type: s,
@ -144,7 +144,7 @@ namespace OS {
* @param {API.AnnouncementDataType} o
* @memberof PushNotification
*/
private pushout(s: string, o: API.AnnouncementDataType): void {
private pushout(s: string, o: API.AnnouncementDataType<any>): void {
const d = {
text: `[${s}] ${o.name} (${o.id}): ${o.message}`,
icon: o.icon,