Skip to content

Commit

Permalink
Remove value and defaultValue from InputWithWrapperState type
Browse files Browse the repository at this point in the history
They are already included in the type definition for HTMLInputElement
  • Loading branch information
nhunzaker committed Nov 27, 2017
1 parent 90ed488 commit d8925a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-dom/src/client/ReactDOMFiberInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import ReactControlledValuePropTypes from '../shared/ReactControlledValuePropTyp
import * as inputValueTracking from './inputValueTracking';

type InputWithWrapperState = HTMLInputElement & {
value: string,
defaultValue: string,
_wrapperState: {
initialValue: string,
initialChecked: ?boolean,
Expand Down

0 comments on commit d8925a2

Please sign in to comment.