Grow into something more useful.
mtwilliams opened this issue · 0 comments
mtwilliams commented
Typespec could be expanded upon to allow for spec'ing objects, attributes, and methods. Something like Rubtype and Ruby Type Checker.
There's a lot use for this:
The real benefit would be when:
- Typespecs can be statically analyzed against – Rubocop?
- Extensions to use typespecs for parameter checking in Rails and friends are made.
- Extensions to use typespecs to expand upon documentation are made.