W3cubDocs

/Angular

createNgModuleRef

const deprecated

The createNgModule function alias for backwards-compatibility. Please avoid using it directly and use createNgModule instead.

Deprecated: Use createNgModule instead.

const createNgModuleRef: <T>(ngModule: Type<T>, parentInjector?: Injector) => NgModuleRef<T>;

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/createNgModuleRef