Created
September 10, 2019 23:18
-
-
Save morphatic/4003ac3ed2045d9ce2c14165c19aa72d to your computer and use it in GitHub Desktop.
Updating the parent component of VStateSelect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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