Skip to content

Debug implicit any error #697

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 2 commits into from
Mar 3, 2021
Merged

Conversation

benjaminreid
Copy link
Contributor

Summary

In a project that didn’t allow implicit anys, this error would be thrown for Debug.

Call signature, which lacks return-type annotation, implicitly has an 'any' return type.

Test plan

Use the yarn run typescript-check.

I’ve tested this change against a live project and it corrects the error, though perhaps there is a better type?

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

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

Thanks!

@thymikee thymikee merged commit e9f6d69 into callstack:master Mar 3, 2021
@benjaminreid benjaminreid deleted the debug-any branch March 3, 2021 18:09
@tebatalla
Copy link

Do you mind sending out a release with this fix soon?

@retyui

This comment has been minimized.

@thymikee

This comment has been minimized.

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.

4 participants