effect-http: AWS Lambda and Swagger files

Is there any up-to-date Effect helpers to allow me to run my backend server in AWS Lambda? Basically, I'm trying to run my main effect code in a Lambda handler, and the compiler is angry because it has no server request and no Swagger files...
Argument of type 'Effect<ServerResponse, never, ServerRequest | SwaggerFiles>' is not assignable to parameter of type 'Effect<ServerResponse, never, never>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
  Type 'ServerRequest | SwaggerFiles' is not assignable to type 'never'.
    Type 'ServerRequest' is not assignable to type 'never'.ts(2379)
Was this page helpful?