Closed QiluXie closed 10 months ago
fyi, i think there's a test spec being skipped due ot this typing change. could i trouble you to update the variable used in the test?
fyi, i think there's a test spec being skipped due ot this typing change. could i trouble you to update the variable used in the test?
Thanks for the catch @seaerchin ! Removed unnecessary string declaration of gitTree
since it's already defined in the upper scope. Done in 49eeebece8a352c996088cee64d025019bbc2e92
Can you take another look and approve before I merge it?
fyi, i think there's a test spec being skipped due ot this typing change. could i trouble you to update the variable used in the test?
Thanks for the catch @seaerchin ! Removed unnecessary string declaration of
gitTree
since it's already defined in the upper scope. Done in 49eeebe Can you take another look and approve before I merge it?
ci is green, should be fine
Problem
Closes IS-835
There are 13 instances of
any
in the fileGitHubService.ts
. The usage ofany
should be avoid if possible to maintain the type safety of Typescript.Solution
Defined explicit types for all instances of
any
inGitHubService.ts
Breaking Changes
Improvements:
any
with explicit types inGitHubService.ts
fileTests
Clone the branch and run backend locally to confirm there is no error from type checking