interface ErrorConstructor {
    new ErrorConstructornew (message?: string): Error;
    prototype: Error;
    (message?: string): Error;
}
  • 参数

    • 可选message: string

    返回 Error

构造函数

属性

构造函数

  • 参数

    • 可选message: string

    返回 Error

属性

prototype: Error