From e104a73e736401d1d131d1f9743e404cd318e726 Mon Sep 17 00:00:00 2001 From: d-yokoi Date: Thu, 12 Sep 2019 17:47:39 +0900 Subject: [PATCH] chore: update type assertion --- test/psbt.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/psbt.spec.ts b/test/psbt.spec.ts index 5f52cab..4eb32dc 100644 --- a/test/psbt.spec.ts +++ b/test/psbt.spec.ts @@ -14,7 +14,7 @@ const initBuffers = (object: any): typeof preFixtures => const data = result[1]; const encoding = result[2]; - return Buffer.from(data, encoding as any); + return Buffer.from(data, encoding as BufferEncoding); }); const fixtures = initBuffers(preFixtures);