Skip to content

Context not showing and invalid types #170

Description

@cbs-l

When trying to use the documentation example for passing in a context I am seeing that a type error is being thrown:

S2554: Expected 0 arguments, but got 1

From what I can see the method call is:

export const createAPIGatewayProxyEventV2RequestHandler = <
  Event extends APIGatewayProxyEventV2 = APIGatewayProxyEventV2,
>() => {

So looks as if it does not allow a context value? This also means that when trying to use the context value in a resolver that it is not there.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions