mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d5946bdc97
This PR adds missing documentation for `@angular/localize` package and fixes a tiny one-word typo in the `README.md` file for `@angular/localize schematic`. Fixes #49219. PR Close #49393
479 B
479 B
@angular/localize schematic for ng add
This schematic will be executed when an Angular CLI user runs ng add @angular/localize.
It will search their angular.json file, and add types: ["@angular/localize"] in the TypeScript
configuration files of the project.
If the user specifies that they want to use $localize at runtime then the dependency will be
added to the dependencies section of package.json rather than in the devDependencies which
is the default.