diff --git a/src/background/audio.ts b/src/background/audio.ts index f267177..98e2909 100644 --- a/src/background/audio.ts +++ b/src/background/audio.ts @@ -35,7 +35,7 @@ ipcMain.on('update-recorder', updateRecorder); // Split Buffer into an array of len-sized Buffers. function bufSplit(buf: Buffer, len: number): Array { - let chunks = []; + const chunks = []; let i = 0; let L = len;