Unable to resolve signature of class decorator when called as an expression.
See original GitHub issueAm getting this error buts once call super() it goes off but I can’t find it in the doc that one has to called the super
method
Unable to resolve signature of class decorator when called as an expression.
Type '<VC extends VueClass<Vue>>(target: VC) => VC' is not assignable to type 'typeof AkChatMessages'.
Property 'extend' is missing in type '<VC extends VueClass<Vue>>(target: VC) => VC'
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
TypeScript decorator reports "Unable to resolve signature ...
TypeScript decorator reports "Unable to resolve signature of class decorator when called as an expression" ; also make sure you call @Input() with...
Read more >How To Use Decorators in TypeScript
Unable to resolve signature of class decorator when called as an expression. Type '(target: Function) => void' is not assignable to type ...
Read more >TypeScript decorator reports “Unable to resolve signature ...
When compile, it reports: decorator.ts(1,1): error TS1238: Unable to resolve signature of class decorator when called as an expression. Type '(msg ...
Read more >Microsoft/TypeScript
Unable to resolve signature of property decorator when called as an expression. This is confusing, I'm not calling the decorator as an expression....
Read more >Unable to resolve signature of class decorator when called ...
编译的时候报错,怎么解决呢? Failed to compile. ... TS1238: Unable to resolve signature of class decorator when called as an expression. This ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This error comes up with vue 3, to reduce the error to a warning you can do:
Change your shim according to this: https://github.com/vuejs/vue-next/issues/1072
Change your declaration to this:
The issue still persists with
vue: 2.5.18
andtypescript: 3.2.2
.