nicecode-v2/packages/hooks/es/useJump/index.d.ts
2024-01-10 15:15:12 +08:00

8 lines
286 B
TypeScript

import type { JumpType } from './interface';
declare const useJump: () => (path: string, data: {
[index: string]: any;
__key__: JumpType;
}) => void;
export declare const useListenJump: (handle: (data: any) => void, type: JumpType | JumpType[]) => void;
export default useJump;