DefinitelyTyped/types/reach__router
Eyas 13ff340e33
Reflect correct type of @reach/router Link: (#43556)
Link.props.ref is actually a React.Ref<HTMLAnchorElement>. Link is
defined in terms of react's forwardRef() function, which returns a
ForwardRefExoticComponent. @reach/router actually forwards an
HTMLAnchorElement.

Without this fix, Link is a component, and "ref" is assumed to be a
React.Ref<Link>. But Link actually forwards "ref" to an <a> element
it returns.
2020-04-03 17:05:22 -07:00
..
index.d.ts Reflect correct type of @reach/router Link: (#43556) 2020-04-03 17:05:22 -07:00
reach__router-tests.tsx Reflect correct type of @reach/router Link: (#43556) 2020-04-03 17:05:22 -07:00
tsconfig.json
tslint.json