Skip to content

Commit 1bd8116

Browse files
authored
[react] Remove digest from ErrorInfo (DefinitelyTyped#74085)
1 parent 38242a1 commit 1bd8116

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

types/react/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,6 @@ declare namespace React {
40574057
* Captures which component contained the exception, and its ancestors.
40584058
*/
40594059
componentStack?: string | null;
4060-
digest?: string | null;
40614060
}
40624061

40634062
// Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts

types/react/ts5.0/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4056,7 +4056,6 @@ declare namespace React {
40564056
* Captures which component contained the exception, and its ancestors.
40574057
*/
40584058
componentStack?: string | null;
4059-
digest?: string | null;
40604059
}
40614060

40624061
// Keep in sync with JSX namespace in ./jsx-runtime.d.ts and ./jsx-dev-runtime.d.ts

0 commit comments

Comments
 (0)