mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7a40234fb7
Makes a few optimizations in the utilities we use for dealing with imports in migrations. I didn't end up using these in the inject migration, but they should still come in handy. Includes: 1. Exiting `isReferenceToImport` early when the node being checked is an identifier and it doesn't match the identifier of the import. This saves us some type checker calls. 2. Adds the ability to pass a single string to `getImportSpecifiers`. This saves us unnecessary arrays and for loops. PR Close #57179
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT