Skip to content

Conversation

@scytacki
Copy link

@scytacki scytacki commented Apr 30, 2025

Without this change this was typed as any so typescript couldn't check the code very well.
With this change several edge cases were identified and addressed.

I haven't tested this specific code. I did this refactoring in my own codebase first and it worked fine for how we are using it. I did this refactoring so I could more safely strip down the layer to just what we need in our use case. I probably won't be able to spend more time on the code of this PR, but I wanted to contribute it in case you find it useful.

Without this change `this` was typed as any so typescript couldn't
check the code very well. With this change several edge cases were
identified and addressed.
@scytacki scytacki marked this pull request as ready for review April 30, 2025 19:32
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.

1 participant