I am building an application using [vuejs2](/questions/tagged/vuejs2 "show questions tagged 'vuejs2'"), [vuex](/questions/tagged/vuex "show questions tagged 'vuex'"), and [typescript](/questions/tagged/typescript "show questions tagged 'typescript'") in [visual-studio-code](/questions/tagged/visual-studio-code "show questions tagged 'visual-studio-code'"). I have the [vetur](/questions/tagged/vetur "show questions tagged 'vetur'") extension installed. I have built a definition file to give me intellisense for most of my project, but I haven't been able to figure out how to add my [vuex](/questions/tagged/vuex "show questions tagged 'vuex'") store to intellisense. I've read through the [Definition Documentation](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html), but I haven't been able to puzzle together how I might do this. My goal is to be able to get intellisense on anything in `this.$store.`. Currently, [vetur](/questions/tagged/vetur "show questions tagged 'vetur'") provides intellisense for `state`, `getters`, etc. but it does not provide intellisense for the next level (e.g. `this.$store.state.TestVariable`). How can I get intellisense for my [vuex](/questions/tagged/vuex "show questions tagged 'vuex'") store?

### Contract Management Store

```
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        Contract: new Library.Model.Entity.Contract()
    }
});

```

### Contract Component

```
<template>
    <contract-line></contract-line>
</template>

<script lang="ts">
    import Vue from 'vue';
    import Vuex from 'vuex';
    import store from '../store/ContractManagementStore';
    import ContractLine from "./ContractLine.vue";

    export default Vue.extend({
        name: 'contract-management',
        store,
        components: {
            'contract-line': ContractLine
        }
    });
</script>

<style>

</style>

```

### Contract Line Component

```
<template>
    <button v-if="CanDelete"></button>
</template>

<script lang="ts">
    import Vue from 'vue';
    import Vuex from 'vuex';

    Vue.use(Vuex);

    export default Vue.extend({
        computed:{
            CanDelete(): Boolean {
                // Looking for intellisense after this.$store.state.
                return this.$store.state.Contract.ContractStatus.Value === Library.Enums.ContractStatus.Draft
            }
        }
    });
</script>

<style>

</style>

```