vercel / react-tweet

Embed tweets in your React application.
https://react-tweet.vercel.app
MIT License
1.61k stars 86 forks source link

Make ts-ignore comments no longer necessary #34

Closed joulev closed 1 year ago

joulev commented 1 year ago

This commit enhances the developer experience since NextTweet component no longer needs a ts-ignore (or similar) comment, as the component itself is no longer async.

Functionally it should still work normally. I have done some manual tests on all test-app pages, but you might want to test it too.

Although if this PR is merged, it will (I think) break the build for anyone using ts-expect-error instead of ts-ignore. But we are in v0.x.x here so I think a minor version bump is fine...