logoalt Hacker News

throw-the-towelyesterday at 8:08 PM1 replyview on HN

IDK, I still miss Rust's strictness and exhaustive enum matching.


Replies

socalgal2yesterday at 9:08 PM

I don't know about what other strictness you're referring to but exhaustive enum matching is common check in most TS stacks via eslint. Yea, it's not builtin, just saying there's a solution and it's super common.

show 2 replies