fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-18 00:38:20 +02:00
parent 9697b1e48b
commit e357f7581c

View File

@ -45,8 +45,9 @@ export interface IManager {
db: SmartdataDb
}
export const setDefaultManagerForDoc = (managerArg: IManager, dbDoc: any) => {
dbDoc.prototype.defaultManager = managerArg;
export const setDefaultManagerForDoc = (managerArg: IManager, dbDocArg: any) => {
dbDocArg.prototype.defaultManager = managerArg;
return dbDocArg;
}
/**