Skip to content

void is not valid as a constituent in a union #1256

@mfulton26

Description

@mfulton26

onSigninCallback?: (user: User | void) => Promise<void> | void;

see no-invalid-void-type | typescript-eslint

I suggest using user: User | undefined or user?: User instead of user: User | void.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions