docs: add ModuleWithProviders deprecation (#33266)

PR Close #33266
This commit is contained in:
Kapunahele Wong
2019-10-19 08:13:30 -04:00
committed by Kara Erickson
parent b3d6d500be
commit 398ff1e7e7
2 changed files with 50 additions and 1 deletions

View File

@ -86,6 +86,9 @@ export interface NgModuleDef<T> {
* @param T the module type. In Ivy applications, this must be explicitly
* provided.
*
* Note that using ModuleWithProviders without a generic type is deprecated.
* The generic will become required in a future version of Angular.
*
* @publicApi
*/
export interface ModuleWithProviders<