open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
17 lines (16 loc) • 492 B
TypeScript
import { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types";
type HttpResponseOptions = Partial<HttpMessage> & {
statusCode: number;
reason?: string;
};
export interface HttpResponse extends IHttpResponse {
}
export declare class HttpResponse {
statusCode: number;
reason?: string;
headers: HeaderBag;
body?: any;
constructor(options: HttpResponseOptions);
static isInstance(response: unknown): response is HttpResponse;
}
export {};