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

ref(ts migration): replaced all instances of any with explicit types in repoService.ts #1066

Merged
merged 5 commits into from
Dec 20, 2023

Conversation

QiluXie
Copy link
Contributor

@QiluXie QiluXie commented Dec 19, 2023

Problem

Closes IS-836

There are a lot of instances of type any in the file repoService.ts, and we need to replace them with explicit types to ensure type safety.

Solution

Replaced all instances of type any in repoService.ts

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible with ALL of the following feature flags in this doc

Improvements:

  • Replaced all instances of type any in repoService.ts

Tests

CI test to confirm no error in type checking

src/services/db/GitHubService.ts Outdated Show resolved Hide resolved
src/services/db/RepoService.ts Outdated Show resolved Hide resolved
src/services/db/RepoService.ts Outdated Show resolved Hide resolved
src/services/db/RepoService.ts Outdated Show resolved Hide resolved
@QiluXie QiluXie requested a review from dcshzj December 20, 2023 04:13
@QiluXie QiluXie changed the title IS-836 Replaced all instances of any with explicit types in repoService.ts ref(ts migration): replaced all instances of any with explicit types in repoService.ts Dec 20, 2023
@QiluXie QiluXie force-pushed the IS-836-remove-instance-of-any-from-reposervice branch from 1cb950b to 7010970 Compare December 20, 2023 14:15
@QiluXie
Copy link
Contributor Author

QiluXie commented Dec 20, 2023

CI passed, all green. Merging now.

@QiluXie QiluXie merged commit 9b96a30 into develop Dec 20, 2023
10 checks passed
@mergify mergify bot deleted the IS-836-remove-instance-of-any-from-reposervice branch December 20, 2023 15:02
This was referenced Dec 21, 2023
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.

2 participants