Skip to content

Commit 065f52c

Browse files
committed
chore(createContext): update doc block
1 parent f1d8e02 commit 065f52c

File tree

1 file changed

+2
-0
lines changed
  • packages/0/src/factories/createContext

1 file changed

+2
-0
lines changed

packages/0/src/factories/createContext/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export function useContext<Z> (key: InjectionKey<Z> | string) {
2828
* @param key The provided string or InjectionKey
2929
* @template Z The type values for the context.
3030
* @returns A tuple containing provide/inject
31+
*
32+
* @see https://vuejs.org/guide/components/provide-inject
3133
*/
3234
export function createContext<Z> (key: InjectionKey<Z> | string) {
3335
function provideContext (value: Z, app?: App) {

0 commit comments

Comments
 (0)