Skip to content

Commit b6d540e

Browse files
style: format code with prettier
1 parent a90570d commit b6d540e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/container-provider.class.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { ContainedType, ContainerInterface, } from 'typeorm';
1+
import { ContainedType, ContainerInterface } from 'typeorm';
22
import { Container, Constructable } from 'typedi';
33

44
/**
55
* Class transforming between TypeDI API and the expected API by TypeORM.
66
*/
77
export class TypeDIContainerProvider implements ContainerInterface {
88
get<T>(constructable: ContainedType<T>) {
9-
/**
9+
/**
1010
* TypeDI only resolves values for registered types, so we need to register
1111
* them before to requesting them from the default container.
1212
*/

src/container-registrations.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import { ConnectionManager } from 'typeorm';
77
* We need to set imported TypeORM classes before requesting them, otherwise we
88
* would receive a "ServiceNotFoundError" above TypeDI 0.9.1 from the decorators.
99
*/
10-
Container.set({ id: ConnectionManager, type: ConnectionManager });
10+
Container.set({ id: ConnectionManager, type: ConnectionManager });

0 commit comments

Comments
 (0)