Skip to content

Infra/picker screen ts #1888

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
Mar 14, 2022
Merged

Infra/picker screen ts #1888

merged 4 commits into from
Mar 14, 2022

Conversation

ethanshar
Copy link
Collaborator

Description

Migrate example PickerScreen to TS

Changelog

Migrate example PickerScreen to TS

@Inbal-Tish
Copy link
Collaborator

@ethanshar Looks fine. Is there a reason to keep Picker.d.ts in typings/components? Why not use only types.ts in Picker dir?

type Constructor<T, TA = any> = new(...args: TA[]) => T;
type ExtendTypeWith<T extends Constructor<any>, OtherObject extends object> = Constructor<InstanceType<T> & OtherObject, ConstructorParameters<T>>;
type Constructor<T, TA = any> = new (...args: TA[]) => T;
type ExtendTypeWith<T extends Constructor<any>, OtherObject extends object> = Constructor<
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see why break the line here...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reverted

@ethanshar
Copy link
Collaborator Author

@ethanshar Looks fine. Is there a reason to keep Picker.d.ts in typings/components? Why not use only types.ts in Picker dir?

removed the old typings file

@ethanshar ethanshar requested a review from Inbal-Tish March 14, 2022 08:29
@Inbal-Tish Inbal-Tish merged commit 083acc7 into master Mar 14, 2022
@ethanshar ethanshar deleted the infra/PickerScreenTS branch June 13, 2022 08:16
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