The Winter Throat

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Typescript, Vue 3, and strongly typed props

Typescript, Vue 3, and strongly typed props

🇺🇸 englishPublished June 2022 (at 32)#javascript1119 words4 mn to read

I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought. Options API versus Composition API Now I’ve known for quite some time th...

The Winter Throat

Blog

Back

I like to occasionally write articles about things that pique my interest at work, or opinions that I form over the years.
Typescript, Vue 3, and strongly typed props

Typescript, Vue 3, and strongly typed props

🇺🇸 englishPublished June 2022 (at 32)#javascript1119 words4 mn to read

I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought. Options API versus Composition API Now I’ve known for quite some time th...