Skip to content

Local(): Typescript error: "An argument for 'opts' was not provided." #729

@janKir

Description

@janKir

After upgrading boardgame.io from 0.39.9 to 0.39.12, I get this typescript error when calling Local() without arguments: local.d.ts(81, 31): An argument for 'opts' was not provided.

Looking into the source code, I guess that the opts just needs to be made optional. Also the function seems to check for undefined opts so nothing should break if the argument is not provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions