import { Container } from 'inversify' ; import { PartialOptions } from '../typings/daruk_options' ; import Daruk from './daruk' ; const darukContainer = new Container ( { skipBaseClassChecks : true } ) ; const DarukServer = ( options ? ) => { let instance = new Daruk ( ) ; instance . _initOptions ( options ) ; return instance ; } ; export { darukContainer , DarukServer } ;