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

[Feat]: Technical: Translate redusers (map-state and map-style) to typescript #1717

Merged
merged 4 commits into from
Feb 24, 2022

Conversation

HeimEndyd
Copy link
Collaborator

No description provided.

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
{
// @ts-expect-error
payload: {config = {}, options = {}, bounds = null}
}: {
Copy link
Contributor

Choose a reason for hiding this comment

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

return type of this function should be MapState

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
label: string;
url: string;
icon: string;
style?: Object;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please avoid Object and any types for future

@HeimEndyd HeimEndyd merged commit 8121893 into master Feb 24, 2022
@delete-merged-branch delete-merged-branch bot deleted the ms/js_to_ts_conversion_redusers_map branch February 24, 2022 09:26
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

3 participants