angular-docs-cn/packages/core/schematics/migrations/xhr-factory
Alan Agius 95ff5ecb23 feat(core): add migration for `XhrFactory` import (#41313)
Automatically migrates `XhrFactory` from `@angular/common/http` to `@angular/common`.

PR Close #41313
2021-03-29 15:14:16 -07:00
..
BUILD.bazel feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00
README.md feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00
index.ts feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00

README.md

XhrFactory migration

Automatically migrates XhrFactory from @angular/common/http to @angular/common.

Before

import { XhrFactory } from '@angular/common/http';

After

import { XhrFactory } from '@angular/common';