Skip to content
Prev Previous commit
Next Next commit
update tests
  • Loading branch information
Ville Saukkonen committed May 7, 2019
commit 5c2f9192d42d2cd16fd04bc990c5115906866ae8
12 changes: 6 additions & 6 deletions tests/react_16_3/react_16_3.exp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ References:
forwardRef.js:19:32
19| const badRef = React.createRef<HTMLDivElement>();
^^^^^^^^^^^^^^ [1]
<BUILTINS>/react-dom.js:290:22
290| button: {instance: HTMLButtonElement, props: {children?: React$Node, [key: string]: any}},
^^^^^^^^^^^^^^^^^ [2]
<BUILTINS>/react-dom.js:290:44
290| button: ReactDOM$HTMLElementJSXIntrinsic<HTMLButtonElement, ReactDOM$HTMLElementProps>,
^^^^^^^^^^^^^^^^^ [2]
<BUILTINS>/react.js:240:6
240| ): {|current: null | T|};
^^^^^^^^^^^^^^^^^^^^^ [3]
Expand Down Expand Up @@ -72,9 +72,9 @@ References:
forwardRef.js:23:50
23| const _g = <FancyButton foo={3} ref={(x: null | HTMLDivElement) => x} />; // Incorrect ref type
^^^^^^^^^^^^^^ [3]
<BUILTINS>/react-dom.js:290:22
290| button: {instance: HTMLButtonElement, props: {children?: React$Node, [key: string]: any}},
^^^^^^^^^^^^^^^^^ [4]
<BUILTINS>/react-dom.js:290:44
290| button: ReactDOM$HTMLElementJSXIntrinsic<HTMLButtonElement, ReactDOM$HTMLElementProps>,
^^^^^^^^^^^^^^^^^ [4]


Error ---------------------------------------------------------------------------------------------- forwardRef.js:42:12
Expand Down
Loading