docs: HttpClient should be HttpClientModule
This commit is contained in:
parent
8146f0918b
commit
e732a172d8
@ -113,7 +113,7 @@ Add the `HttpClientInMemoryWebApiModule` to the `@NgModule.imports` array—
|
||||
_after importing the `HttpClientModule`_,
|
||||
—while configuring it with the `InMemoryDataService`.
|
||||
|
||||
把 `HttpClientInMemoryWebApiModule` 添加到 `@NgModule.imports` 数组中(放在 `HttpClient` 之后),
|
||||
把 `HttpClientInMemoryWebApiModule` 添加到 `@NgModule.imports` 数组中(放在 `HttpClientModule` 之后),
|
||||
然后使用 `InMemoryDataService` 来配置它。
|
||||
|
||||
<code-example
|
||||
|
Loading…
x
Reference in New Issue
Block a user