facet classafIoc::SubModule

sys::Obj
  afIoc::SubModule : sys::Facet

@Js
@Serializable

Use on AppModule classes to define other modules to be loaded.

@SubModule { modules=[AnotherModule#] }
const class MainModule {
  ...
}

Note all class modules need to be const.

modules

Source

const Type[] modules

A list of additional modules to be loaded.