소스 검색

docs: fix .js in comment (#1916)

The extension should be .ts instead of .js, since the file is in
TypeScript.
Peter Shih 4 년 전
부모
커밋
8cc9dbdbcb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/guide/typescript-support.md

+ 1 - 1
docs/guide/typescript-support.md

@@ -96,7 +96,7 @@ Under the hood, Vuex installs the store to the Vue app using Vue's [Provide/Inje
 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:
 
 ```ts
-// store.js
+// store.ts
 import { InjectionKey } from 'vue'
 import { createStore, useStore as baseUseStore, Store } from 'vuex'