Change type

This commit is contained in:
Yuki1536 2022-12-16 20:34:13 +09:00
parent e9bab4565e
commit 29cd3ed3d2

View File

@ -3,7 +3,7 @@ import { AudioMimeType, SniffAudioExt, GetArrayBuffer, GetMetaFromFile } from ".
import { DecryptResult } from '@/decrypt/entity';
const HandlerMap: Map<string, Function> = new Map([
const HandlerMap: Map<string, (data: Uint8Array) => Uint8Array> = new Map([
["x2m", ProcessX2M],
["x3m", ProcessX3M],
]);