export default function resolveDefaults( target: T | undefined | null, defaults: T ): T;