Closed strass closed 4 years ago
Aah, I figured it out. I was importing
import { LinkProps as RNLinkProps, UseLinkPropsOptions, } from "react-navi/src/Link";
instead of
import { LinkProps as RNLinkProps, UseLinkPropsOptions, } from "react-navi/dist/types/Link";
I'll leave the PR open in case you want it.
I run
tsc --noEmit
during CI to ensure that my app's types don't have any errors. It has now started catching these, (even though I havenode_modules
excluded in my tsconfig.json) and they're easy fixes.