chore: update type assertion

This commit is contained in:
d-yokoi 2019-09-12 17:47:39 +09:00
parent 9810049f4c
commit e104a73e73
No known key found for this signature in database
GPG key ID: 619C5273C9B6A5E0

View file

@ -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);