Files
HRM-System/node_modules/@headlessui/react/dist/react-glue.d.ts
2026-04-13 09:30:59 +08:00

3 lines
270 B
TypeScript

import { shallowEqual, type Machine } from './machine.js';
export declare function useSlice<M extends Machine<any, any>, Slice>(machine: M, selector: (state: Readonly<M extends Machine<infer State, any> ? State : never>) => Slice, compare?: typeof shallowEqual): Slice;