5 lines
240 B
Plaintext
5 lines
240 B
Plaintext
import type { useEffect, useLayoutEffect } from 'react';
|
|
type EffectHookType = typeof useEffect | typeof useLayoutEffect;
|
|
export declare const createUpdateEffect: (hook: EffectHookType) => EffectHookType;
|
|
export default createUpdateEffect;
|