fix: update type error in template code
This commit is contained in:
parent
c4777e35a9
commit
833a7ee8ec
@ -26,14 +26,14 @@ export class BasicExampleFactory {
|
||||
notify: async (
|
||||
event: string,
|
||||
type: string,
|
||||
ids: Array<string>,
|
||||
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);
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user