Eduardo.πππ@esm.dev15 MayTIL you can very simply type the key of a `for in` loop in TS by just hoisting the variable2229
Eduardo.πππ@esm.devto 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 code15/5/26, 10:58 amΒ·0 repostsΒ·2 likes