convenience overload for react context undefined value
This commit is contained in:
5
packages/docs-new/src/vite-env.d.ts
vendored
5
packages/docs-new/src/vite-env.d.ts
vendored
@@ -1 +1,6 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
import "react"
|
||||
declare module "react" {
|
||||
export function createContext<Value>(): Context<Value | undefined>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user