import { useContainer as classValidatorUseContainer } from 'class-validator' ; import { MicroframeworkLoader , MicroframeworkSettings } from 'microframework-w3tec' ; import { useContainer as routingUseContainer } from 'routing-controllers' ; import { Container } from 'typedi' ; import { useContainer as ormUseContainer } from 'typeorm' ; export const iocLoader = ( settings ) => { /**
     * Setup routing-controllers to use typedi container.
     */ routingUseContainer ( Container ) ; ormUseContainer ( Container ) ; classValidatorUseContainer ( Container ) ; } ;