export interface IContainer { resolve < T > ( name ) : T ; } let sharedContainer ; export function setSharedContainer ( container ) { sharedContainer = container ; } export function resolve < T > ( name ) { return sharedContainer . resolve ( name ) ; }