inline local modules to types