dsherret / dsherret/conditional-type-checks
Add `HasProperty`
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice to tell when a type has a property.
For example, I have some types that are missing a property in them that they should have so I do a cast to "any". It would be nice to leave something in the code so I get notified when the types I'm relying on get fixed to include this property (so that I can remove my `any` cast).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.