Creating a Styled Component with Link breaks typing

When creating a Link styled through styled components, my
to
,
params
and potentially other props losing their type safety. Using Link by itself works as expected however.

https://codesandbox.io/p/devbox/twilight-mountain-lts8jw

Note the usage of the styled link and how i am able to pass in anything to those values
Was this page helpful?