8 lines
286 B
TypeScript
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;
|