DefinitelyTyped/types/reach__router
Eyas cb3d627af8
Allow RefObject<T> in reach__router innerRef. (#43534)
While https://reach.tech/router/api/Link describes innerRef as a func,
it is actually passed to React's HTMLAnchorElement's "ref" prop as such:

`<a ref={ref || innerRef} ...`

See: https://github.com/reach/router/blob/master/src/index.js#L392-L405

HTMLAnchorElement's "ref" is defined as Ref<HTMLAnchorElement>.
2020-04-01 09:45:29 -07:00
..
index.d.ts Allow RefObject<T> in reach__router innerRef. (#43534) 2020-04-01 09:45:29 -07:00
reach__router-tests.tsx Allow RefObject<T> in reach__router innerRef. (#43534) 2020-04-01 09:45:29 -07:00
tsconfig.json
tslint.json