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:

how to design apps with Apple Intelligence in mind

How to design apps with Apple Intelligence in mind

Apple Intelligence is here. What does it mean for frontend dev and UX? Explore the core features of the update, do’s and don’ts for designing with Apple Intelligence in mind, and reflect on the future of AI design.

Murat YĂĽksel
Jun 24, 2025 â‹… 10 min read
How To Optimize Your Next.js App With After()

How to optimize your Next.js app with after()

Next.js’ after() is a new API that lets you run logic after your route has finished rendering, without blocking the client.

Temitope Oyedele
Jun 24, 2025 â‹… 11 min read
JavaScript Loops Explained, And Best Practices

JavaScript loops explained, and best practices

JavaScript loops like for, for...of, and for...in are constructs that help run a piece of code multiple times.

Rahul Padalkar
Jun 23, 2025 â‹… 8 min read
8 Reasons Your Next.js App Is Slow — And How To Fix Them

8 reasons your Next.js app is slow — and how to fix them

You don’t need to guess what’s wrong with your Next.js app. I’ve mapped out the 8 biggest performance traps and the fixes that actually work.

Chizaram Ken
Jun 20, 2025 â‹… 16 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