Skip to content

Commit

Permalink
upgrading spex dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Dec 20, 2020
1 parent 6fcfaea commit a051ca1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/typescript/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ c.binary = true;

const spex = pgp.spex;

const b = spex.batch([1, 2, 3]);
(async function () {
const [first, second] = await spex.batch<number, string>([1, 'hello']);

const res = await spex.batch<number, string>([1, 'hello']);
const d = res.duration;
})();

interface Test {
hello: string;
Expand Down

0 comments on commit a051ca1

Please sign in to comment.