mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: update resource docs (#61846)
`value` throws when the resource is in error state. PR Close #61846
This commit is contained in:
@@ -95,7 +95,7 @@ export interface HttpResourceOptions<TResult, TRaw> {
|
||||
parse?: (value: TRaw) => TResult;
|
||||
|
||||
/**
|
||||
* Value that the resource will take when in Idle, Loading, or Error states.
|
||||
* Value that the resource will take when in Idle or Loading states.
|
||||
*
|
||||
* If not set, the resource will use `undefined` as its default value.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user