File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import type { APIGatewayProxyEvent , Handler } from 'aws-lambda' ;
22import type { TShallotErrorHandlerOptions } from '@shallot/http-error-handler/dist/aws' ;
33
4- import ShallotAWS from '@shallot/aws' ;
4+ import ShallotAWS , { ShallotAWSHandler } from '@shallot/aws' ;
55import { ShallotAWSHttpErrorHandler } from '@shallot/http-error-handler' ;
66
77import ShallotAWSSocketJsonBodyParser , {
@@ -52,7 +52,7 @@ type TShallotSocketHandler = (
5252 HttpErrorHandlerOpts ?: TShallotErrorHandlerOptions ;
5353 HttpJsonBodyParserOpts ?: TShallotJSONBodyParserOptions ;
5454 }
55- ) => ShallotRawHandler < TShallotSocketEvent > ;
55+ ) => ShallotAWSHandler < TShallotSocketEvent > ;
5656
5757const ShallotSocketWrapper : TShallotSocketHandler = (
5858 handler ,
You can’t perform that action at this time.
0 commit comments