Skip to content

refactor: remove any and as throughout codebase#1323

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

refactor: remove any and as throughout codebase#1323
jescalada wants to merge 56 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 e828482
🔍 Latest deploy log https://app.netlify.com/projects/endearing-brigadeiros-63f9d0/deploys/699f1e9f40de7500081123ea

@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
@kriswest
Copy link
Contributor

@jescalada trying to fit in a final pass, but you've developed a whole load of conflicts unfortunately.

@jescalada
Copy link
Contributor Author

jescalada commented Feb 25, 2026

@kriswest @andypols Conflicts fixed!

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