From a051ca15c0c2c81c09c1e0451f03df81d099534e Mon Sep 17 00:00:00 2001 From: Vitaly Tomilov Date: Sun, 20 Dec 2020 07:03:21 +0000 Subject: [PATCH] upgrading spex dependency --- test/typescript/init.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/typescript/init.ts b/test/typescript/init.ts index 5511dcda7..ef3c6cd77 100644 --- a/test/typescript/init.ts +++ b/test/typescript/init.ts @@ -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([1, 'hello']); + + const res = await spex.batch([1, 'hello']); + const d = res.duration; +})(); interface Test { hello: string;