Cool stuff, I did a similar solution before the one shared in the post, but in plain js
I'll roast you a bit, but I don't have much to add though. I'd say importing the whole lodash library just to use the isEqualWith is a bit overkill for this simple scenario (quite ironic by my part to say that though xD).
And yeah enums are kinda weird in TS, but I sometimes miss some of the features they have in other languages.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Cool stuff, I did a similar solution before the one shared in the post, but in plain js
I'll roast you a bit, but I don't have much to add though. I'd say importing the whole lodash library just to use the
isEqualWith
is a bit overkill for this simple scenario (quite ironic by my part to say that though xD).And yeah enums are kinda weird in TS, but I sometimes miss some of the features they have in other languages.