Skip to content

Command Registry Event code has incorrect types according to ProbeJS #78

@lonevox

Description

@lonevox

The wiki section is here: https://kubejs.com/wiki/tutorials/chat#command-registry-event
I'm on 1.21.1.
When copying the code into vscode with ProbeJS and checkJs set to true in jsconfig.json, there is a type error:

Image

The code does work however, so if this is actually an issue with ProbeJS I can make an issue there.

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