chore: update type assertion
This commit is contained in:
parent
9810049f4c
commit
e104a73e73
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue