mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
fix namespace type error (#8844)
This commit is contained in:
@@ -200,6 +200,11 @@ export class Prefab extends Asset {
|
||||
}
|
||||
}
|
||||
|
||||
export declare namespace Prefab {
|
||||
// @ts-expect-error(2484) namespace conflict
|
||||
export { utils as _utils };
|
||||
}
|
||||
|
||||
legacyCC.Prefab = Prefab;
|
||||
if (ALIPAY || RUNTIME_BASED) {
|
||||
legacyCC._Prefab = Prefab;
|
||||
|
||||
Reference in New Issue
Block a user