GenerateEndpoint
Generic types: | Schema |
Computed type that resolves an
type into a function type which accepts an object of parameters as declared, if any, and returns an observable of the response type as declared.
See Also
Presentation
type GenerateEndpoint = (
params: Schema["params"] extends EndpointParamsSchema
? ResolveEndpointParamsSchema <Schema["params"]>
: void,
) => Observable <ContainedTypeOf <Schema["response"]>>;