From 0e18835e0050eb9da5d1f29504c1024f3f728b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E7=94=B0?= <82024018+QC2168@users.noreply.github.com> Date: Thu, 16 Jun 2022 19:02:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(useContext):=20=E5=88=A0=E9=99=A4=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E9=87=8D=E8=BD=BD=20(#1932)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/core/useContext.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/core/useContext.ts b/src/hooks/core/useContext.ts index 522e10bb..c6861874 100644 --- a/src/hooks/core/useContext.ts +++ b/src/hooks/core/useContext.ts @@ -35,7 +35,6 @@ export function createContext( } export function useContext(key: InjectionKey, native?: boolean): T; -export function useContext(key: InjectionKey, defaultValue?: any, native?: boolean): T; export function useContext( key: InjectionKey = Symbol(),