22 lines
744 B
TypeScript
22 lines
744 B
TypeScript
export default {
|
|||
|
|
createElement: () => ({}),
|
||
|
|
Fragment: () => ({}),
|
||
|
|
useState: (initial: any) => [initial, () => {}],
|
||
|
|
useEffect: () => {},
|
||
|
|
useLayoutEffect: () => {},
|
||
|
|
useMemo: (fn: any) => fn(),
|
||
|
|
useRef: (val: any) => ({ current: val }),
|
||
|
|
useSyncExternalStore: () => ({})
|
||
|
|
};
|
||
|
|
export const createElement = () => ({});
|
||
|
|
export const jsx = () => ({});
|
||
|
|
export const jsxs = () => ({});
|
||
|
|
export const jsxDEV = () => ({});
|
||
|
|
export const Fragment = () => ({});
|
||
|
|
export const useState = (initial: any) => [initial, () => {}];
|
||
|
|
export const useEffect = () => {};
|
||
|
|
export const useLayoutEffect = () => {};
|
||
|
|
export const useMemo = (fn: any) => fn();
|
||
|
|
export const useRef = (val: any) => ({ current: val });
|
||
|
|
export const useSyncExternalStore = () => ({});
|