Comment

Comment by rtht

I think properties should allow direct constructor assignment. I think it looks better than strings.

props: { name: String, age: Number }

parent rtht 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton