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

Move codebase to typed strict #127

Merged
merged 9 commits into from Jun 9, 2022
Merged

Conversation

vinistock
Copy link
Member

Motivation

The final PR in our efforts to adopt Sorbet. This PR enforces typed strict in our files (except for test files, which are enforced as typed true).

Implementation

Split by commit

  1. Move the codebase to typed strict
  2. Add generic for response type in RuboCopRequest
  3. Add generic for response type in BaseRequest
  4. Enhance some block related types

Let me know what you think about the generics. I don't love it, but they did improve typing and actually helped me find an incorrect signature in Handler.

@vinistock vinistock requested a review from a team June 6, 2022 14:29
@vinistock vinistock self-assigned this Jun 6, 2022
@vinistock vinistock force-pushed the vs/get_codebase_to_typed_strict branch from 3bf0c7c to 0d42475 Compare June 7, 2022 18:42
@vinistock vinistock force-pushed the vs/get_codebase_to_typed_strict branch from 99f0b94 to 280faf8 Compare June 8, 2022 21:04
@vinistock vinistock force-pushed the vs/get_codebase_to_typed_strict branch from 280faf8 to af95f0c Compare June 9, 2022 13:46
@vinistock vinistock merged commit 2db6261 into main Jun 9, 2022
@vinistock vinistock deleted the vs/get_codebase_to_typed_strict branch June 9, 2022 14:18
andyw8 pushed a commit to andyw8/ruby-lsp that referenced this pull request Mar 2, 2024
…ypes/node-18.0.0

Bump @types/node from 17.0.44 to 18.0.0
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

Successfully merging this pull request may close these issues.

None yet

5 participants