Skip to content

Instantly share code, notes, and snippets.

@pipopotamasu
Created April 30, 2020 08:37
Show Gist options
  • Save pipopotamasu/c9a5365b4b5351d133e87b87ea996c1b to your computer and use it in GitHub Desktop.
Save pipopotamasu/c9a5365b4b5351d133e87b87ea996c1b to your computer and use it in GitHub Desktop.
declare module '*.vue' {
import { api } from '~/plugins/api'
module 'vue/types/vue' {
interface Vue {
readonly $api: api
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment