styled-components
Version:
CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.
7 lines (6 loc) • 354 B
TypeScript
/**
* Arrays & POJOs merged recursively, other objects and value types are overridden
* If target is not a POJO or an Array, it will get source properties injected via shallow merge
* Source objects applied left to right. Mutates & returns target. Similar to lodash merge.
*/
export default function mixinDeep(target: any, ...sources: any[]): any;