update types
This commit is contained in:
parent
5f4bf377c9
commit
b36a0a61fa
|
|
@ -12,7 +12,7 @@ export const baseTypings = `
|
||||||
const prasi_internal: {
|
const prasi_internal: {
|
||||||
page: { id: string };
|
page: { id: string };
|
||||||
};
|
};
|
||||||
|
|
||||||
const pathname: string;
|
const pathname: string;
|
||||||
const isEditor: boolean;
|
const isEditor: boolean;
|
||||||
const isLayout: boolean;
|
const isLayout: boolean;
|
||||||
|
|
@ -35,6 +35,7 @@ export const baseTypings = `
|
||||||
) => void;}) => ReactNode;
|
) => void;}) => ReactNode;
|
||||||
const navigate: (url: string,
|
const navigate: (url: string,
|
||||||
params?: {
|
params?: {
|
||||||
|
name?: string;
|
||||||
where?: any;
|
where?: any;
|
||||||
create?: any;
|
create?: any;
|
||||||
update?: any;
|
update?: any;
|
||||||
|
|
@ -54,7 +55,7 @@ export const baseTypings = `
|
||||||
onPointerMove?: () => void;
|
onPointerMove?: () => void;
|
||||||
onPointerLeave?: () => void;
|
onPointerLeave?: () => void;
|
||||||
inherit?: {
|
inherit?: {
|
||||||
style: any,
|
style: any,
|
||||||
className: string
|
className: string
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -145,7 +146,7 @@ export const baseTypings = `
|
||||||
};
|
};
|
||||||
render?: () => void;
|
render?: () => void;
|
||||||
};
|
};
|
||||||
|
|
||||||
const PassProp: (arg:Record<string, any> & { children: ReactNode }>) => ReactElement;
|
const PassProp: (arg:Record<string, any> & { children: ReactNode }>) => ReactElement;
|
||||||
const mobile: {
|
const mobile: {
|
||||||
notif: {
|
notif: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue