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

r0.1.5
Garrett Mills 3 years ago
parent cab2967cf6
commit 8e65a5f669
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -1,6 +1,7 @@
import {Request} from "./Request";
import {ErrorWithContext, HTTPStatus, BehaviorSubject} from "@extollo/util"
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.
@ -78,7 +79,7 @@ export class Response {
}
/** Get the HTTPCookieJar for the client. */
public get cookies() {
public get cookies(): HTTPCookieJar {
return this.request.cookies
}

Loading…
Cancel
Save