Eduardo.πππ@esm.devTIL you can very simply type the key of a `for in` loop in TS by just hoisting the variable15/5/26, 8:55 amΒ·2 repostsΒ·29 likes
Eduardo.πππ@esm.dev15 Mayto be fair, string is the correct type because keys can be added. Only do this if you freeze the object or itβs never exposed to user code2