1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | export as namespace ReactIs;
|
14 |
|
15 | import {
|
16 | LazyExoticComponent,
|
17 | MemoExoticComponent,
|
18 | ReactElement,
|
19 | ElementType
|
20 | } from "react";
|
21 |
|
22 | export function typeOf(value: any): symbol | undefined;
|
23 | export function isValidElementType(value: any): value is ElementType;
|
24 | export function isAsyncMode(value: any): value is ReactElement;
|
25 | export function isContextConsumer(value: any): value is ReactElement;
|
26 | export function isContextProvider(value: any): value is ReactElement;
|
27 | export function isElement(value: any): value is ReactElement;
|
28 | export function isForwardRef(value: any): value is ReactElement;
|
29 | export function isFragment(value: any): value is ReactElement;
|
30 | export function isLazy(value: any): value is LazyExoticComponent<any>;
|
31 | export function isMemo(value: any): value is MemoExoticComponent<any>;
|
32 | export function isProfiler(value: any): value is ReactElement;
|
33 | export function isPortal(value: any): value is ReactElement;
|
34 | export function isStrictMode(value: any): value is ReactElement;
|
35 | export function isSuspense(value: any): value is ReactElement;
|
36 |
|
37 | export const AsyncMode: symbol;
|
38 | export const ContextConsumer: symbol;
|
39 | export const ContextProvider: symbol;
|
40 | export const Element: symbol;
|
41 | export const ForwardRef: symbol;
|
42 | export const Fragment: symbol;
|
43 | export const Lazy: symbol;
|
44 | export const Memo: symbol;
|
45 | export const Portal: symbol;
|
46 | export const Profiler: symbol;
|
47 | export const StrictMode: symbol;
|
48 | export const Suspense: symbol;
|