diff --git a/cocos/core/data/utils/requiring-frame.ts b/cocos/core/data/utils/requiring-frame.ts index a013f02af3f..d9a83ea9782 100644 --- a/cocos/core/data/utils/requiring-frame.ts +++ b/cocos/core/data/utils/requiring-frame.ts @@ -38,7 +38,7 @@ interface IRequiringFrame { let requiringFrames: IRequiringFrame[] = []; // the requiring frame infos -export function push (module: IRequiringFrame['module'], uuid: string, scriptName: string, importMeta?: Record): void { +export function push (module: IRequiringFrame['module'], uuid: IRequiringFrame['uuid'], scriptName: IRequiringFrame['script'], importMeta?: IRequiringFrame['importMeta']): void { if (scriptName === undefined) { scriptName = uuid; uuid = '';