diff --git a/lib/interfaces/typeorm-options.interface.ts b/lib/interfaces/typeorm-options.interface.ts index d9b0ea59b..81ef7152d 100644 --- a/lib/interfaces/typeorm-options.interface.ts +++ b/lib/interfaces/typeorm-options.interface.ts @@ -24,6 +24,10 @@ export type TypeOrmModuleOptions = { * If `true`, entities will be loaded automatically. */ autoLoadEntities?: boolean; + /** + * If `true`, connection will not be closed on application shutdown. + */ + keepConnectionAlive?: boolean; /** * If `true`, will show verbose error messages on each connection retry. */