Skip to content

Commit d8925a2

Browse files
committed
Remove value and defaultValue from InputWithWrapperState type
They are already included in the type definition for HTMLInputElement
1 parent 90ed488 commit d8925a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-dom/src/client/ReactDOMFiberInput.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ import ReactControlledValuePropTypes from '../shared/ReactControlledValuePropTyp
1818
import * as inputValueTracking from './inputValueTracking';
1919

2020
type InputWithWrapperState = HTMLInputElement & {
21-
value: string,
22-
defaultValue: string,
2321
_wrapperState: {
2422
initialValue: string,
2523
initialChecked: ?boolean,

0 commit comments

Comments
 (0)