File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ import { Accepts } from 'accepts';
44import { Readable } from 'stream' ;
55import { IncomingMessage } from 'http' ;
66
7- export interface Request extends IncomingMessage {
7+ export class Request extends IncomingMessage {
88 constructor ( event : APIGatewayProxyEvent ) ;
9+ body : any ;
910 headers : { [ name : string ] : string } ;
1011 hostname : string | null ;
1112 method : string ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { Request } from "./request";
22import { APIGatewayProxyCallback , APIGatewayProxyResult } from 'aws-lambda' ;
33import { ServerResponse } from "http" ;
44
5- export interface Response extends ServerResponse {
5+ export class Response extends ServerResponse {
66 /**
77 * Response object constructor
88 *
You can’t perform that action at this time.
0 commit comments