Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/guide/typescript-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Let's tackle this step by step. First, define the key using Vue's `InjectionKey`

```ts
// store.ts
import { InjectionKey } from 'vue'
import type { InjectionKey } from 'vue'
import { createStore, Store } from 'vuex'

// define your typings for the store state
Expand Down Expand Up @@ -96,7 +96,7 @@ Having to import `InjectionKey` and passing it to `useStore` everywhere it's use

```ts
// store.ts
import { InjectionKey } from 'vue'
import type { InjectionKey } from 'vue'
import { createStore, useStore as baseUseStore, Store } from 'vuex'

export interface State {
Expand Down