diff --git a/content/modules.md b/content/modules.md index 8aa8682711..e1061c22a2 100644 --- a/content/modules.md +++ b/content/modules.md @@ -187,6 +187,7 @@ import { Connection } from './connection.provider'; @Module({ providers: [Connection], + exports: [Connection], }) export class DatabaseModule { static forRoot(entities = [], options?): DynamicModule { @@ -205,6 +206,7 @@ import { Connection } from './connection.provider'; @Module({ providers: [Connection], + exports: [Connection], }) export class DatabaseModule { static forRoot(entities = [], options) {