• 参数

    • event: string | Event
    • 可选source: string
    • 可选lineno: number
    • 可选colno: number
    • 可选error: Error

    返回 any