mattpocock / ts-error-translator

VSCode extension to turn TypeScript errors into plain English
https://ts-error-translator.vercel.app
2.36k stars 91 forks source link

translation for 1005 #133

Closed pierluigigiancola closed 1 year ago

pierluigigiancola commented 1 year ago

I'm kinda new to typescript and I was using extends incorrectly expecting it to return either true or false, I wrote a message for that assuming others might be using it the same way I did. thanks for the extension :smile:

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 471796560f43bcd71a140c1bc48320a66880e668

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ts-error-translator ✅ Ready (Inspect) Visit Preview Oct 12, 2022 at 2:10PM (UTC)
KutnerUri commented 1 year ago

This seems off. Looking up 1005, it seems to be a lot of ',' expected, and not something about booleans. also the example is a bit weird, this is really uncommon: type x = ... ? true : false;