fix namespace type error (#8844)

This commit is contained in:
Yun Hsiao Wu
2021-06-18 16:17:45 +08:00
committed by GitHub
parent d1d077c098
commit a79529d348
+5
View File
@@ -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;