HackerTrans
TopNewTrendsCommentsPastAskShowJobs

_jumble

no profile record

comments

_jumble
·4 jaar geleden·discuss
Yes, and generating those unions from a const array gives you even further flexibility with runtime access: `const myStrArray = ["a", "b", "c"] as const; type MyStrType = typeof myStrArray[number];`