Files

22 lines
744 B
TypeScript
Raw Permalink Normal View History

2026-09-11 21:45:40 +08:00
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 = () => ({});