js-upsert
Version:
`js-upsert` is a lightweight JavaScript library designed to simplify updating deeply nested properties within objects. It provides an intuitive and efficient way to manage complex object structures, ensuring non-destructive updates. This makes `js-upsert`
51 lines (50 loc) • 1.23 kB
TypeScript
export declare const companyDetails: {
name: string;
address: {
street: string;
city: string;
zip: string;
country: string;
};
departments: {
engineering: {
manager: {
name: string;
role: string;
email: string;
};
employees: {
name: string;
role: string;
email: string;
projects: {
name: string;
deadline: string;
status: string;
}[];
}[];
};
hr: {
manager: {
name: string;
role: string;
email: string;
profile: {
id: {
g: string;
};
};
};
employees: {
name: string;
role: string;
email: string;
projects: {
name: string;
deadline: string;
status: string;
}[];
}[];
};
};
};