fix(extollo/extollo#4): explicitly define return type to fix build error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Garrett Mills 2021-03-30 22:19:29 -05:00
parent cab2967cf6
commit 8e65a5f669
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -1,6 +1,7 @@
import {Request} from "./Request"; import {Request} from "./Request";
import {ErrorWithContext, HTTPStatus, BehaviorSubject} from "@extollo/util" import {ErrorWithContext, HTTPStatus, BehaviorSubject} from "@extollo/util"
import {ServerResponse} from "http" import {ServerResponse} from "http"
import {HTTPCookieJar} from "../kernel/HTTPCookieJar";
/** /**
* Error thrown when the server tries to re-send headers after they have been sent once. * Error thrown when the server tries to re-send headers after they have been sent once.
@ -78,7 +79,7 @@ export class Response {
} }
/** Get the HTTPCookieJar for the client. */ /** Get the HTTPCookieJar for the client. */
public get cookies() { public get cookies(): HTTPCookieJar {
return this.request.cookies return this.request.cookies
} }