Merge pull request #27 from zotero-cn:bootstrap

fix: update type error in template code
This commit is contained in:
windingwind 2023-03-13 00:23:49 +08:00 committed by GitHub
commit 5abb83c518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ function onShutdown(): void {
async function onNotify(
event: string,
type: string,
ids: Array<string>,
ids: Array<string | number>,
extraData: { [key: string]: any }
) {
// You can add your code to the corresponding notify type

View File

@ -26,7 +26,7 @@ export class BasicExampleFactory {
notify: async (
event: string,
type: string,
ids: Array<string>,
ids: number[] | string[],
extraData: { [key: string]: any }
) => {
if (!addon?.data.alive) {