diff --git a/src/hooks.ts b/src/hooks.ts index c8e8fe3..cbd180c 100644 --- a/src/hooks.ts +++ b/src/hooks.ts @@ -91,7 +91,7 @@ function onShutdown(): void { async function onNotify( event: string, type: string, - ids: Array, + ids: Array, extraData: { [key: string]: any } ) { // You can add your code to the corresponding notify type diff --git a/src/modules/examples.ts b/src/modules/examples.ts index d5d7eed..b780884 100644 --- a/src/modules/examples.ts +++ b/src/modules/examples.ts @@ -26,7 +26,7 @@ export class BasicExampleFactory { notify: async ( event: string, type: string, - ids: Array, + ids: number[] | string[], extraData: { [key: string]: any } ) => { if (!addon?.data.alive) {