diff --git a/types/react-router-dom/react-router-dom-tests.tsx b/types/react-router-dom/react-router-dom-tests.tsx index a7715e9ea1..9a524e88df 100644 --- a/types/react-router-dom/react-router-dom-tests.tsx +++ b/types/react-router-dom/react-router-dom-tests.tsx @@ -39,5 +39,7 @@ const Component: React.SFC = props => { ; -const acceptRef = (node: HTMLAnchorElement | null) => {}; -; +const refCallback: React.Ref = node => {}; +; +const ref = React.createRef(); +;