Skip to content

Commit

Permalink
Merge pull request #2997 from tomaszwysocki/fix-exports-array-modules
Browse files Browse the repository at this point in the history
docs(modules): add missing exports array
  • Loading branch information
kamilmysliwiec authored Mar 21, 2024
2 parents ffffacb + d50b9a7 commit 761c06c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ import { Connection } from './connection.provider';

@Module({
providers: [Connection],
exports: [Connection],
})
export class DatabaseModule {
static forRoot(entities = [], options?): DynamicModule {
Expand All @@ -205,6 +206,7 @@ import { Connection } from './connection.provider';

@Module({
providers: [Connection],
exports: [Connection],
})
export class DatabaseModule {
static forRoot(entities = [], options) {
Expand Down

0 comments on commit 761c06c

Please sign in to comment.