title: Cannot use property decorator @Prop in vue
body: <p>I have a component in Vue 2: </p>
  
  <pre><code>import Vue from 'vue';
  import Component from 'vue-class-component';
  import Prop from 'vue-property-decorator';
  
  @Component({
    template: require('./template.html'),
  })
  
  export class SuklTableApprComponent extends Vue {
  
    @Prop() 
    type: any;
  
    @Prop()
    data: any;
  
    mounted() {}
  
  }
  </code></pre>
  
  <p>I am doing it as stated in documentation, but typescript won't let me use that @Prop decorator. It throws an error:</p>
  
  <blockquote>
    <p>TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'typeof "/home/tomasturan/programming/sukl/reg-dis-forms-v2/node_modules/vue-property-decorator/li...' has no compatible call signatures.</p>
  </blockquote>
  
  <p>Why is that? I have a simmilar project where everything seems to be configured the same and there it works. Why is it throwing this error?</p>