mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-01-23 03:40:19 +08:00
feat(useContext): 删除多余重载 (#1932)
This commit is contained in:
parent
67575dd186
commit
0e18835e00
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user