Replace typescript compiler with native tsgo compiler

This commit is contained in:
Jamie
2026-03-18 11:26:18 -07:00
committed by GitHub
parent 5e6af4708b
commit c90ca2b4e0
207 changed files with 1819 additions and 1270 deletions

View File

@@ -12,8 +12,8 @@ export const MAC_KEY_SIZE = 32;
export const MAC_SIZE = 32;
export function appendMacStream(
macKey: Uint8Array,
onMac?: (mac: Uint8Array) => undefined
macKey: Uint8Array<ArrayBuffer>,
onMac?: (mac: Uint8Array<ArrayBuffer>) => undefined
): Duplex {
if (macKey.byteLength !== MAC_KEY_SIZE) {
throw new Error('appendMacStream: invalid macKey length');