fix(core): update
This commit is contained in:
parent
9697b1e48b
commit
e357f7581c
@ -45,8 +45,9 @@ export interface IManager {
|
|||||||
db: SmartdataDb
|
db: SmartdataDb
|
||||||
}
|
}
|
||||||
|
|
||||||
export const setDefaultManagerForDoc = (managerArg: IManager, dbDoc: any) => {
|
export const setDefaultManagerForDoc = (managerArg: IManager, dbDocArg: any) => {
|
||||||
dbDoc.prototype.defaultManager = managerArg;
|
dbDocArg.prototype.defaultManager = managerArg;
|
||||||
|
return dbDocArg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user