⬆️ update typescript

This commit is contained in:
platane
2025-02-20 19:57:25 +07:00
parent 3c171061b3
commit 79c252356c
4 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ const animationOptions: AnimationOptions = { frameDuration: 100, step: 1 };
) {
const stats: number[] = [];
let buffer: Buffer;
let buffer: Uint8Array;
const start = Date.now();
const chainL = chain.slice(0, length);
for (let k = 0; k < 10 && (Date.now() - start < 10 * 1000 || k < 2); k++) {

View File

@@ -95,5 +95,5 @@ export const createGif = async (
].flat()
);
return fs.readFileSync(optimizedFileName);
return new Uint8Array(fs.readFileSync(optimizedFileName));
});