Skip to content

Syntax error with provided example #11

@paultanner

Description

@paultanner

Running the provided example unmodified with nodejs version v21.4.0

shellies.on('add', async (device: Device) => {
^^^^^ (points to 'device')
SyntaxError: missing ) after argument list

Is this easily fixable?

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