File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,19 @@ import {
44 OperationContext ,
55} from '../../handler' ;
66
7- import type { Handler , HandlerEvent , HandlerContext } from '@netlify/functions' ;
7+ import type {
8+ Handler as NetlifyHandler ,
9+ HandlerEvent as NetlifyHandlerEvent ,
10+ HandlerContext as NetlifyHandlerContext ,
11+ } from '@netlify/functions' ;
812
913/**
1014 * Handler options when using the netlify adapter
1115 *
1216 * @category Server/netlify
1317 */
1418export type HandlerOptions < Context extends OperationContext = undefined > =
15- RawHandlerOptions < HandlerEvent , HandlerContext , Context > ;
19+ RawHandlerOptions < NetlifyHandlerEvent , NetlifyHandlerContext , Context > ;
1620
1721/**
1822 * Create a GraphQL over HTTP spec compliant request handler for netlify functions
@@ -21,7 +25,7 @@ export type HandlerOptions<Context extends OperationContext = undefined> =
2125 */
2226export function createHandler < Context extends OperationContext = undefined > (
2327 options : HandlerOptions < Context > ,
24- ) : Handler {
28+ ) : NetlifyHandler {
2529 const handler = createRawHandler ( options ) ;
2630 return async function handleRequest ( req , ctx ) {
2731 try {
You can’t perform that action at this time.
0 commit comments