Skip to content

Conversation

@fabb
Copy link

@fabb fabb commented Jun 1, 2020

I tried to solve it without the Query and Comparator subtypes and type guards, but I couldn‘t come up with something more elegant that works and avoids casts. Any ideas? (Something with infer maybe?

Also I‘m not happy about the force cast of the result of Object.entries, but I guess there‘s no way around that due to the lib types.

@mdevils
Copy link
Collaborator

mdevils commented Aug 13, 2020

Sorry I decided to discard this exercise and replace it with another one. Check out the new interactive version here: https://typescript-exercises.github.io/.

@mdevils mdevils closed this Aug 13, 2020
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