ether-admin/node_modules/ant-design-vue/lib/_util/hooks/useLayoutState.d.ts

7 lines
254 B
TypeScript

import type { Ref } from 'vue';
export type Updater<State> = (prev: State) => State;
/**
* Execute code before next frame but async
*/
export declare function useLayoutState<State>(defaultState: State): [Ref<State>, (updater: Updater<State>) => void];