3.0.0
What's Changed
- Breaking change: The
valueproperty of theLoadedStateinterface, and the parameter of theloadedStatefunction, are no longer optional. If you want yourLoadedStateinstances to possibly containundefinedvalues, you must explicitly state such in the generic type parameter. E.g.,state: HttpRequestState<MyDataType | undefined>will allow aLoadedStatewith anundefinedvalue. (TheLoadingStateandErrorStateinterfaces are unaffected and continue to have an optionalvalueproperty, even when the generic type does not allow for undefined.) - Angular 16 support
Full Changelog: 2.2.0...3.0.0