Function: baseDeriveSingle
lib.baseDeriveSingle
▸ baseDeriveSingle<T
>(«destructured»
): T
Example function for deriving singles from an Axios response. This is based on the output from the Django REST framework, which places the object right at the root of the data response by default.
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
«destructured» |
DeriveSingleArgs <T > |
Returns
T