Update src/hooks.ts

Co-authored-by: volatile-static <1043064987@qq.com>
This commit is contained in:
Linxzh 2023-03-05 13:51:08 +08:00 committed by GitHub
parent b0010ee8c7
commit f625f326eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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