mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Makes the following minor improvements to our current schematic utilities: * `closestNode` now takes a TS predicate function instead of a `SyntaxKind`. This allows it automatically infer the type of the match. * `getImportSpecifier` now accepts a regex for the module name. This will be useful for some upcoming migrations. * Splits the logic for creating the migration program options into a separate function so that it's easier to reuse. * `createMigrationProgram` now returns the program directly, instead of a literal with some other information. * `FakeReadFileFn` and `createMigrationCompilerHost` aren't exported anymore since they aren't used anywhere. PR Close #48790 |
||
|---|---|---|
| .. | ||
| tslint | ||
| typescript | ||
| BUILD.bazel | ||
| import_manager.ts | ||
| line_mappings.ts | ||
| load_esm.ts | ||
| ng_component_template.ts | ||
| ng_decorators.ts | ||
| parse_html.ts | ||
| project_tsconfig_paths.ts | ||
| template_ast_visitor.ts | ||