angular-cn/packages/core/schematics/migrations
Adam Plumer 56731f624a feat(core): add ModuleWithProviders generic type migration (#33217)
Static methods that return a type of ModuleWithProviders currently
do not have to specify a type because the generic falls back to any.
This is problematic because the type of the actual module being
returned is not present in the type information.

Since Ivy uses d.ts files exclusively for downstream packages
(rather than metadata.json files, for example), we no longer have
the type of the actual module being created.

For this reason, a generic type should be added for
ModuleWithProviders that specifies the module type. This will be
required for all users in v10, but will only be necessary for
users of Ivy in v9.

PR Close #33217
2019-10-21 15:53:28 -04:00
..
dynamic-queries docs(core): add migration guide links to schematics (#33258) 2019-10-18 18:18:37 -04:00
google3 refactor(core): missing-injectable migration should respect providers of directives and components (#33011) 2019-10-14 20:24:01 +00:00
missing-injectable docs(core): add migration guide links to schematics (#33258) 2019-10-18 18:18:37 -04:00
module-with-providers feat(core): add ModuleWithProviders generic type migration (#33217) 2019-10-21 15:53:28 -04:00
move-document refactor(core): add `createMigrationCompilerHost` (#32827) 2019-10-04 11:45:35 -07:00
postinstall-ngcc feat(core): add postinstall ngcc migration (#32999) 2019-10-15 17:54:38 +00:00
renderer-to-renderer2 docs(core): add migration guide links to schematics (#33258) 2019-10-18 18:18:37 -04:00
static-queries refactor: re-enable dynamic queries migration (#32992) 2019-10-04 13:54:09 -07:00
template-var-assignment refactor(core): add `createMigrationCompilerHost` (#32827) 2019-10-04 11:45:35 -07:00
undecorated-classes-with-decorated-fields docs(core): add migration guide links to schematics (#33258) 2019-10-18 18:18:37 -04:00
undecorated-classes-with-di docs(core): add migration guide links to schematics (#33258) 2019-10-18 18:18:37 -04:00