Skip to content

Context not showing and invalid types #170

Open
@cbs-l

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

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