Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shrinktofit committed Aug 4, 2023
1 parent 735e8f4 commit b0bfc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/asset/asset-manager/pack-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class PackManager {
let err: Error | null = null;

if (Array.isArray(json)) {
json = unpackJSONs(json as Parameters<typeof unpackJSONs>[0]);
json = unpackJSONs(json as unknown as Parameters<typeof unpackJSONs>[0]);

if (json.length !== pack.length) {
errorID(4915);
Expand Down

0 comments on commit b0bfc0d

Please sign in to comment.