vue-next-webpack-preview
vue-next-webpack-preview copied to clipboard
Typescript support
I am adding Typescript and I am not certain what the shim for *.vue
files should be? My best guess is:
// shims-vue.d.ts
declare module '*.vue' {
import { Component } from 'vue'
const component: Component
export default component
}
does anyone know if this is correct?