createNgModuleRef
constant
deprecated
The createNgModule function alias for backwards-compatibility. Please avoid using it directly and use createNgModule instead.
Deprecation warning
API
const createNgModuleRef: <T>(ngModule: Type<T>, parentInjector?: Injector | undefined) => NgModuleRef<T>; Jump to details