Skip to content

Instantly share code, notes, and snippets.

@morphatic
Created September 10, 2019 23:18
Show Gist options
  • Save morphatic/4003ac3ed2045d9ce2c14165c19aa72d to your computer and use it in GitHub Desktop.
Save morphatic/4003ac3ed2045d9ce2c14165c19aa72d to your computer and use it in GitHub Desktop.
Updating the parent component of VStateSelect
/**
* Import the Vuetify components you plan to extend here.
*/
// @ts-ignore
import { VAutocomplete } from 'vuetify/lib'
// Create Base Mixins and Define Custom Properties
const base = Vue.extend({ mixins: [VAutocomplete] })
interface options extends InstanceType<typeof base> {
/**
* !Props unique to VStateSelect
* Add properties of your project that TypeScript should know
* about here.
*/
foo: string
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment