Comment

Comment by migstopheles

I'm not sure exactly what you mean by "not valid" but that example is absolutely valid typescript, and will compile perfectly fine.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton