import { nullObject } from "@vlr/object-tools"; export function extend(src: T, extend?: T): T { return Object.assign(nullObject(), src, extend); }