2022-02-02
1274
#vue
Oyetoke Tobi
90666
Feb 2, 2022 â‹… 4 min read

Define properties with Vue Property Decorator and TypeScript

Oyetoke Tobi Software engineer passionate about building developers tools and open source contributions.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
Using Firebase For ASP.NET Authentication

Using Firebase for ASP.NET authentication

Firebase is one of the most popular authentication providers available today. Meanwhile, .NET stands out as a good choice for […]

Lewis Cianci
Jan 21, 2025 â‹… 9 min read
View all posts

3 Replies to "Define properties with Vue Property Decorator and TypeScript"

  1. I only got as far as “Creating a TypeScript Vue component” before it all blew up!

    ERROR in src/App.vue:14:2

    TS1238: Unable to resolve signature of class decorator when called as an expression.
    This expression is not callable.
    Type ‘typeof import(“/home/mark/repos/vue-props-example/node_modules/vue-class-component/dist/vue-class-component”)’ has no call signatures.
    12 | import { Component, Vue } from “vue-property-decorator”;
    13 |
    > 14 | @Component

Leave a Reply