Skip to content

Commit

Permalink
feat(mongoose): @tsed/mongoose need mongoose v6 as minimal version
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Apr 2, 2022
1 parent 85605e6 commit 71de7dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/platform/common/src/services/PlatformResponse.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {isBoolean, isNumber, isStream, isString} from "@tsed/core";
import {Injectable, ProviderScope, Scope} from "@tsed/di";
import {ServerResponse} from "http";
import onFinished from "on-finished";
import {IncomingEvent} from "../interfaces/IncomingEvent";
import type {PlatformRequest} from "./PlatformRequest";
import type {PlatformContext} from "../domain/PlatformContext";
import onFinished from "on-finished";

declare global {
namespace TsED {
Expand Down Expand Up @@ -229,7 +229,7 @@ export class PlatformResponse<T extends Record<string, any> = any> {
*
* @param data
*/
stream(data: ReadableStream | any) {
stream(data: any) {
data.pipe(this.raw);

return this;
Expand Down

0 comments on commit 71de7dc

Please sign in to comment.