mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: type backendSrv.datasourceRequest (#31870)
This commit is contained in:
@@ -158,7 +158,7 @@ export interface BackendSrv {
|
||||
* to display datasource query information. Can be skipped by adding `option.silent`
|
||||
* when initializing the request.
|
||||
*/
|
||||
datasourceRequest(options: BackendSrvRequest): Promise<any>;
|
||||
datasourceRequest<T = any>(options: BackendSrvRequest): Promise<FetchResponse<T>>;
|
||||
|
||||
/**
|
||||
* Observable http request interface
|
||||
|
||||
Reference in New Issue
Block a user