Created
May 31, 2019 04:00
-
-
Save mstssk/1bbfe470a3f486f5aee9f04907858064 to your computer and use it in GitHub Desktop.
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 Vue from "vue"; | |
import { Store } from "vuex"; | |
export default class VueGenericComponent< | |
T extends HTMLElement = HTMLElement, | |
S extends Store<any> = Store<any> | |
> extends Vue { | |
$el: T; | |
$store: S; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment