mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 05:52:41 +08:00
This commit updates the interceptor schematic to generate function intererceptors by default. BREAKING CHANGE: `ng g interceptor` now generate a functional interceptor by default. or guard by default. To generate a class-based interceptor the `--no-functional` command flag should be used.