interval / interval-node

The official Interval SDK for Node.
https://interval.com/docs
121 stars 13 forks source link

Typo in documentation with io.group #12

Closed homoky closed 2 years ago

homoky commented 2 years ago

https://interval.com/docs/io-methods/group

Usage example wrong:

const { name, email, age } = await io.group({
  io.input.text("Name"),
  io.input.email("Email"),
  io.input.number("Age"),
});

Should be:

  const { age, email, name } = await io.group({
    name: io.input.text('Name'),
    email: io.input.email('Email'),
    age: io.input.number('Age'),
  });
jacobmischka commented 2 years ago

Thanks for catching that! The published docs should be updated in a few moments! :slightly_smiling_face: