Skip to content

Type error #38

@vafanassieff

Description

@vafanassieff

Describe the bug
Using trpc-uwebsockets 11.4.1 with @trpc/server 11.4.3 leads to this error

Type 'Lazy<AnyRouter>' is not assignable to type '{ [lazySymbol]: true; }'.ts(2322)
unstable-core-do-not-import.d-CSxj_rbP.d.cts(806, 3): The expected type comes from property 'router' which is declared here on type 'WebsocketsHandlerOptions<AnyRouter>'

For the router, using the example in the doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions