Fix incorrect return type for tryPcSogsZip (#183)

This commit is contained in:
Noeri Huisman
2025-09-29 20:30:18 +02:00
committed by GitHub
parent 1d6f9d19b7
commit 5c2017e41d
+1 -1
View File
@@ -418,7 +418,7 @@ export function tryPcSogs(
export function tryPcSogsZip(
input: ArrayBuffer | Uint8Array,
): { name: string; json: PcSogsJson } | undefined {
): { name: string; json: PcSogsJson | PcSogsV2Json } | undefined {
try {
const fileBytes =
input instanceof ArrayBuffer ? new Uint8Array(input) : input;