alexryd / node-shellies-ng

Handles communication with the next generation of Shelly devices
GNU General Public License v3.0
14 stars 30 forks source link

Syntax error with provided example #11

Open paultanner opened 9 months ago

paultanner commented 9 months ago

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?