Closed strozw closed 2 years ago
@gregberge
thanks for your review.
Each prop has its own typing, maybe some are missing, but globally it is good.
Indeed, I think it should be safe for Typing to be more accurate and limited. This PR will be closed and I'll reconsider if we can contribute in another way.
Summary
this PR is fix below issue by add
string | number | false
intoThemeNamespaceValue
(https://github.com/gregberge/xstyled/pull/345/commits/7a430a9fc9b6218cab77cbb8acf437951092ab9a).Fixes #344
and fix type-errors about theme value types in tests files.
Test plan
npm install
in project rootnpx tsc --noEmit -p ./packages/system
npx tsc --noEmit -p ./packages/styled-components
npx tsc --noEmit -p ./packages/emotion
npm test
in project root)