Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails Type Definitions #70

Closed
ybiquitous opened this issue Oct 31, 2018 · 3 comments
Closed

Rails Type Definitions #70

ybiquitous opened this issue Oct 31, 2018 · 3 comments

Comments

@ybiquitous
Copy link
Contributor

Is Rails type definitions planed to add?

For example:

If these types will be pre-defined, I predict Steep's users will increase.
Because defining these types is very hard task. 😓

I would be glad if we could discuss about this theme! 😄

@ybiquitous ybiquitous changed the title Rails Type definitions Rails Type Definitions Oct 31, 2018
@soutaro
Copy link
Owner

soutaro commented Nov 1, 2018

I would like to have that in another gem, maybe steep-types-rails or something like that.

@ybiquitous
Copy link
Contributor Author

It sounds good to me. 👍

Then, for such gems having *.rbi file(s), I think that a central repository such as TypeScript's DefinitelyTyped/DefinitelyTyped is useful for Steep contributors.

In other words, there are 2 ways:

  • Gems with own *.rbi file(s). For example, strong_json gem.
  • Gems without own *.rbi file(s). These *.rbi file(s) are provided in the central repository above such as DefinitelyTyped/DefinitelyTyped.

What do you think about this idea?

@ybiquitous
Copy link
Contributor Author

Now we have the repository ruby/gem_rbs for 3rd-party type definitions.

So, I think this issue should be closed. (feel free to open if you need it still)

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

No branches or pull requests

2 participants