const lazy = ( moduleName , requireFn ) : any => { const importLazyLocal = require ( 'import-lazy' ) ( requireFn ) ; return importLazyLocal ( moduleName ) ; } ; export { lazy as lazyImport } ; export const Import = { lazy } ;