title: vuejs typescript property router does not exist
body: <p>I try to access router in my typescript class component:</p>
  
  <pre><code>import {Vue} from 'vue-property-decorator'
  import Component from 'nuxt-class-component'
  import {Getter, Action} from 'vuex-class'
  
  @Component
  export default class Login extends Vue {
      @Action login
  
      username = ''
      password = ''
  
      async submit () {
          await this.login({username: this.username, password: this.password})
          this.$router.push('/results')
      }
  }
  </code></pre>
  
  <p>Unfortunately, I get:</p>
  
  <pre><code>error TS2339: Property '$router' does not exist on type 'Login'.
  </code></pre>