Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to new types lib #310

Closed
wants to merge 2 commits into from

Conversation

lexicalninja
Copy link
Contributor

Description of change

Updates types file for Styled components. This was causing lint failures in a previous update of other libraries.

GitHub issue for the library is here DefinitelyTyped/DefinitelyTyped#49914

This updates the types to separate libraries for react and react native and should allow other libs to be updated

Reviewers

DF:
@jmarchi
@keli13
@komaly15

@lexicalninja lexicalninja changed the title update to new types libd update to new types lib Dec 18, 2020
@@ -23,7 +23,7 @@ import EditPhoneNumberScreen from './screens/ProfileScreen/PersonalInformationSc
import WebviewScreen from './screens/WebviewScreen'
import configureStore, { AuthState, LOGIN_PROMPT_TYPE, StoreState, handleTokenCallbackUrl, initializeAuth } from 'store'
import i18n from 'utils/i18n'
import styled, { ThemeProvider } from 'styled-components/native'
import styled, { ThemeProvider } from 'styled-components'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we import styled in a few more files, those imports should be updated as well to styled-components instead of styled-components/native

@lexicalninja
Copy link
Contributor Author

closing, current form of styled component creation is deprecated. needs a story

@lexicalninja lexicalninja deleted the feature/update-styled-components-types branch December 21, 2020 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant