Fix incorrect return type for tryPcSogsZip (#183)

This commit is contained in:
Noeri Huisman authored and GitHub committed 2025-09-29 11:30:18 -07:00
1 parent 1d6f9d19b7
commit 5c2017e41d
1 file changed
+1 -1
+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;