UNPKG

@nestjs/common

Version:

Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.

7 lines (6 loc) • 298 B
/** * Whether the router streams this value instead of serializing it: a web * `Response`, or an async iterable that is not also a thenable. `@nestjs/core` * has its own copy, as it may run against an older `@nestjs/common`. */ export declare function isStreamingBody(value: unknown): boolean;