UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

6 lines (5 loc) • 189 B
/** * Similar to `Object.assign` but copying properties descriptors from `source` * as well. */ export declare function assignToObject<T, U extends object>(target: T, source: U): T & U;