fix: adapt model enhancements for DSH 0.1.5
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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 = () => ({});
|
||||
Reference in New Issue
Block a user