WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@motiz88
Copy link
Contributor

@motiz88 motiz88 commented Jan 3, 2023

Summary:

Removes all // @ts-ignore directives and one use of any from the codebase.

Remaining issues

This PR leaves one any (related to a genuinely unsafe use of a forwarded ref) and one cast through unknown (required by the use of findDOMNode). These are likely fixable, but the fixes might be more invasive than the others here, which are mostly limited to type-level changes.

Test Plan:

Ran npx tsc in package, example, and example-web.

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.

1 participant