title: Import State(developed by javascript) from Vue-Typescript
body: <p>My project was developed by Vue js and it has store developed by javascript, and I integrated new component which is developed by vue-typescript and all scripts in this components are developed by typescript.</p>
  
  <p>To import state variable, I tried two ways</p>
  
  <p>use <code>Vuex</code></p>
  
  <pre><code>import { mapGetters, mapState, mapActions, mapMutations, createNamespacedHelpers } from 'vuex'
  
  @Component({
    computed: {
      ...mapState([
        'allowedUrls'
      ])
    }
  })
  </code></pre>
  
  <p>this case <code>this.allowedUrls</code> is not defined error</p>
  
  <p>Use <code>Vuex-Class</code></p>
  
  <pre><code>import { State } from 'vuex-class'
  @State allowedUrls: string[]
  </code></pre>
  
  <p>this case, <code>this.allowedUrls</code> is always undefined</p>
  
  <p>How can I fix this problem?</p>