Skip to content

Commit b067764

Browse files
committed
Update setupGlobalErrorHandling.ts
1 parent 8e29e7d commit b067764

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/setupGlobalErrorHandling.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ interface ErrorHandlingConfig {
1919
// 扩展全局 Error 构造函数的类型定义
2020
declare global {
2121
interface ErrorConstructor {
22+
// @ts-ignore
2223
captureStackTrace?(targetObject: object, constructorOpt?: Function): void;
2324
}
2425
}

0 commit comments

Comments
 (0)