This commit is contained in:
parent
9f1bb45bce
commit
168f1a8144
|
|
@ -46,6 +46,7 @@ class AppLoader extends types_1.AppLoader {
|
|||
});
|
||||
const inter = (0, lodash_1.intersection)(Object.keys(sthOut), Object.keys(sth));
|
||||
(0, assert_1.default)(inter.length === 0, `项目${filePath}中的default输出与第三方库中的输出在键值${inter.join(',')}上冲突,请处理`);
|
||||
Object.assign(sthOut, sth);
|
||||
return sthOut;
|
||||
}
|
||||
constructor(path, contextBuilder, dbConfig) {
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ export class AppLoader<ED extends EntityDict & BaseEntityDict, Cxt extends Async
|
|||
);
|
||||
const inter = intersection(Object.keys(sthOut), Object.keys(sth));
|
||||
assert(inter.length === 0, `项目${filePath}中的default输出与第三方库中的输出在键值${inter.join(',')}上冲突,请处理`);
|
||||
Object.assign(sthOut, sth);
|
||||
return sthOut;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue