Update src/hooks.ts
Co-authored-by: volatile-static <1043064987@qq.com>
This commit is contained in:
parent
b0010ee8c7
commit
f625f326eb
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user