Skip to content

Dialog - migrate to typescript (and some fixes) #930

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

Merged
merged 4 commits into from
Sep 14, 2020

Conversation

M-i-k-e-l
Copy link
Collaborator

Please note that I've made small changes to View and Constants

@@ -32,7 +32,7 @@ export interface ViewPropTypes extends Omit<ViewProps, 'style'>, ContainerModifi
* Set background color
*/
backgroundColor?: string;
style?: StyleProp<ViewStyle> | Animated.AnimatedProps<StyleProp<ViewStyle>>;
style?: StyleProp<ViewStyle | Animated.AnimatedProps<ViewStyle>>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I almost sure I changed that because of an issue I had in the private repo.
Is there a way to verify it doesn't break anything in the private repo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do you mean break the TS or usage?

Copy link
Collaborator

Choose a reason for hiding this comment

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

break TS, I don't think it can break functionality..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I pasted the change into view/index.d.ts and it didn't break npm run build:dev, not sure if that's enough of a check

Copy link
Collaborator

Choose a reason for hiding this comment

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

That's should be enough. merging.

@M-i-k-e-l M-i-k-e-l requested a review from ethanshar September 13, 2020 10:00
@ethanshar ethanshar merged commit 129e053 into master Sep 14, 2020
@M-i-k-e-l M-i-k-e-l deleted the infra/dialog-migrate-to-typescript branch October 19, 2020 08:04
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.

2 participants