convenience overload for react context undefined value

This commit is contained in:
MapleLeaf
2022-01-02 20:28:57 -06:00
committed by Darius
parent e13aa46311
commit 5761a3f8b0

View File

@@ -1 +1,6 @@
/// <reference types="vite/client" /> /// <reference types="vite/client" />
import "react"
declare module "react" {
export function createContext<Value>(): Context<Value | undefined>
}