UNPKG
@lesnoypudge/types-global-react
Version:
latest (6.0.0)
6.0.0
5.0.0
4.0.1
4.0.0
3.0.0
2.1.1
2.1.0
2.0.1
2.0.0
1.1.0
1.0.1
1.0.0
lesnoypudge's types-global-react
@lesnoypudge/types-global-react
/
src
/
react.d.ts
9 lines
(5 loc)
•
205 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
R
from
"react"
;
declare
module
"react"
{
function
createContext<T>(
defaultValue
?: T): R.
Context
<T>;
function
useRef<T =
null
>(
initialValue
:
null
): R.
MutableRefObject
<T |
null
>; }