山田
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/hooks/core/useContext.ts
|
|
|
@ -35,7 +35,6 @@ export function createContext<T>( |
|
|
|
} |
|
|
|
|
|
|
|
export function useContext<T>(key: InjectionKey<T>, native?: boolean): T; |
|
|
|
export function useContext<T>(key: InjectionKey<T>, defaultValue?: any, native?: boolean): T; |
|
|
|
|
|
|
|
export function useContext<T>( |
|
|
|
key: InjectionKey<T> = Symbol(), |
|
|
|
|