I am puzzled by the error message I am receiving when using a decorator in conjunction with components and middleware:
https://i.sstatic.net/dutqx.png
When I examine the error, it states:
TS2345: Argument of type '{ components: { Test: typeof Nav; }; middleware: string[]; }' is not assignable to parameter of type 'VueClass'.
Object literal may only specify known properties, but 'components' does not exist in type 'VueClass'. Did you mean to write 'component'?
https://i.sstatic.net/vEr1p.png
Remarkably, the @Component decorator functions perfectly fine when middleware is not involved:
https://i.sstatic.net/FMp5P.png
Any thoughts on why this issue is occurring?