Skip to content

3.1.0

Compare
Choose a tag to compare
@vitaly-t vitaly-t released this 20 Dec 06:52
· 3 commits to master since this release
  • TypeScript: Added templates support for batch function, to support tuples deconstruction. See PR-14.

Now you can deconstruct tuples like this:

const [first, second] = await spex.batch<number, string>([123, 'hello']);

// first type is inferred as number
// second type is inferred as string
  • Revised and fixed tests for NodeJS v8 and v15
  • Made NodeJS v15 officially supported
  • Updated DEV dependencies