Follow

i should not have to write this (but i do) [typescript] 

for (
const nodeType of /** @type {(typeof NODE_TYPE.SECTION|typeof NODE_TYPE.HEADING|typeof NODE_TYPE.BLOCK)[]} */(
[
NODE_TYPE.SECTION,
NODE_TYPE.HEADING,
NODE_TYPE.BLOCK,
]
)
) { /* … */ }

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.