mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-16 10:34:34 +00:00
* [styled-components] Add missing react-native components
Some react-native components that are included in styled-components was missing from the `ReactNativeStyledInterface`. I added them by applying the following regex:
```
s/\(.*\)/ \1: ReactNativeThemedStyledFunction<\r typeof ReactNative.\1,\r T\r >;/
```
to the string `aliases` from [here](43f6fbe1d9/packages/styled-components/src/native/index.js (L23-L29)).
* [styled-components] Remove invalid RN declarations
I removed every of my newly added declarations that typescript complained about.
* [styled-components] RN: Revert bad changes
Some of the previous changes made typescript complain. I've restored those to how they were before.
* [styled-components] Fix formatting