diff --git a/src/modules/examples.ts b/src/modules/examples.ts index d5d7eed..63e2bf3 100644 --- a/src/modules/examples.ts +++ b/src/modules/examples.ts @@ -26,14 +26,14 @@ export class BasicExampleFactory { notify: async ( event: string, type: string, - ids: Array, + ids: number[] | string[], extraData: { [key: string]: any } ) => { if (!addon?.data.alive) { this.unregisterNotifier(notifierID); return; } - addon.hooks.onNotify(event, type, ids, extraData); + addon.hooks.onNotify(event, type, ids as string[], extraData); }, };