Add typedef for MalwareBlockedEvent

This commit is contained in:
Sander Declerck 2025-12-08 11:54:30 +01:00
parent 4840b0f694
commit 19aed47f02
No known key found for this signature in database
2 changed files with 14 additions and 3 deletions

View file

@ -20,6 +20,12 @@ import { EventEmitter } from "events";
* @property {(headers: NodeJS.Dict<string | string[]> | undefined) => NodeJS.Dict<string | string[]> | undefined} modifyRequestHeaders
* @property {() => boolean} modifiesResponse
* @property {(body: Buffer, headers: NodeJS.Dict<string | string[]> | undefined) => Buffer} modifyBody
*
* @typedef {Object} MalwareBlockedEvent
* @property {string} packageName
* @property {string} version
* @property {string} targetUrl
* @property {number} timestamp
*/
/**