mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a6d5fe202c
This commit adds the `createNgModuleRef` function alias to the public API. The alias is called `createNgModule`. The `createNgModule` name is more consistent with the rest of the API surface, where functions that return `*Ref`s don't include the `Ref` into the function name, for example: `createPlatform`, `ViewContainerRef.createComponent`, etc. DEPRECATED: The `createNgModuleRef` is deprecated in favor of newly added `createNgModule` one. PR Close #46789