Closed raquelarrojo closed 1 year ago
We are typing styled components in a very different way in all our components. After the ts-nocheck removal, we should be typing them in the same way.
ts-nocheck
Example:
This will be changed to:
const HeaderContainer = styled.header<{margin: HeaderPropsType["margin"]; underlined: HeaderPropsType["underlined"];}>
In that way all the components will be homogeneously typed.
We are typing styled components in a very different way in all our components. After the
ts-nocheck
removal, we should be typing them in the same way.Example:
This will be changed to:
const HeaderContainer = styled.header<{margin: HeaderPropsType["margin"]; underlined: HeaderPropsType["underlined"];}>
In that way all the components will be homogeneously typed.