Skip to content

Fix typings for 'never' server context #134

Description

@stazz

The file server/src/flow.ts has type GetContext which now turns into never when server context is never. This needs updating.

Alternatively, maybe switch from never server context into something else like undefined? The never type has caused already a bit of a havoc after introducing it, as it doesn't always behave as one would expect (e.g. X extends never ? A : B doesn't work like expected, etc).

Activity

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

Metadata

Metadata

Assignees

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