export function myFunc({ ...data }: { field: string, }) { }