diff --git a/src/model/types/model.ts b/src/model/types/model.ts index 6f4bfd7..5730094 100644 --- a/src/model/types/model.ts +++ b/src/model/types/model.ts @@ -214,6 +214,10 @@ export function model< return define(new ModelType(definedModel)); } +/** + * Utility function to fix circular dependencies issues. + * @param definedModel A function returning the model to use. + */ export function circular( definedModel: () => any, ): () => GenericModelManager {