Skip to content

Commit 8cc9dbd

Browse files
authored
docs: fix .js in comment (#1916)
The extension should be .ts instead of .js, since the file is in TypeScript.
1 parent 426717c commit 8cc9dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/typescript-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Under the hood, Vuex installs the store to the Vue app using Vue's [Provide/Inje
9696
Having to import `InjectionKey` and passing it to `useStore` everywhere it's used can quickly become a repetitive task. To simplify matters, you can define your own composable function to retrieve a typed store:
9797

9898
```ts
99-
// store.js
99+
// store.ts
100100
import { InjectionKey } from 'vue'
101101
import { createStore, useStore as baseUseStore, Store } from 'vuex'
102102

0 commit comments

Comments
 (0)