Skip to content

Comments

refactor: remove any and as throughout codebase#1323

Open
jescalada wants to merge 53 commits intofinos:mainfrom
jescalada:1174-remove-any-and-as-ts-wrapup
Open

refactor: remove any and as throughout codebase#1323
jescalada wants to merge 53 commits intofinos:mainfrom
jescalada:1174-remove-any-and-as-ts-wrapup

Conversation

@jescalada
Copy link
Contributor

Fixes #1174.

Sets stub types to (`ReturnType<typeof vi.fn>`) to remove the any type
@netlify
Copy link

netlify bot commented Dec 15, 2025

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit 8dd60cb
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/6999c2789a259d00084957c6

@jescalada
Copy link
Contributor Author

@kriswest This one's ready for review!

@jescalada jescalada requested review from a team and kriswest December 17, 2025 04:15
@kriswest
Copy link
Contributor

@jescalada this has picked up some conflicts - are you able to resolve and then hit me over the head to review it?

@fabiovincenzi fabiovincenzi mentioned this pull request Jan 30, 2026
20 tasks
@jescalada
Copy link
Contributor Author

@kriswest Should be ready to review now 😃

@jescalada
Copy link
Contributor Author

By the way, I'm not sure which missing coverage lines aren't already dealt with in #1356, so I suggest ignoring the lost coverage here and dealing with the aftermath in that PR instead.

Copy link
Contributor

@kriswest kriswest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another monster contribution, much appreciated. I've left a handful of comments for you to look at (I think a couple of removed test cases are still needed and a util function could go in for handling error message extraction - which could allow us to turn on stack traces) - however the majority LGTM.

jescalada and others added 8 commits February 19, 2026 12:33
Co-authored-by: Kris West <kristopher.west@natwest.com>
Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
Co-authored-by: Kris West <kristopher.west@natwest.com>
Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
Co-authored-by: Kris West <kristopher.west@natwest.com>
Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
Co-authored-by: Kris West <kristopher.west@natwest.com>
Signed-off-by: Juan Escalada <97265671+jescalada@users.noreply.github.com>
@jescalada
Copy link
Contributor Author

@kriswest Ready for a final look!

@jescalada jescalada requested a review from kriswest February 21, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up any and as in TS files

2 participants