Chore: type backendSrv.datasourceRequest (#31870)

pull/31875/head^2
Josh Hunt 4 years ago committed by GitHub
parent c40d96d0ab
commit a51cc050e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/grafana-runtime/src/services/backendSrv.ts
  2. 5
      yarn.lock

@ -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

@ -25876,6 +25876,11 @@ update-notifier@^2.5.0:
semver-diff "^2.0.0"
xdg-basedir "^3.0.0"
uplot@1.6.4:
version "1.6.4"
resolved "https://registry.yarnpkg.com/uplot/-/uplot-1.6.4.tgz#016e9f66796d78c187957e710743f7ca405dfb4d"
integrity sha512-4d6JixG54HQKFDLAegzwgwf87GtEbp6pt3YlHygyLt+mJ9RHneCXYlZxr1QOhLetoSSHeeDuWP5RFMv8mdltpg==
uplot@1.6.6:
version "1.6.6"
resolved "https://registry.yarnpkg.com/uplot/-/uplot-1.6.6.tgz#81a139acd1f422bdaeedab3f273786114131ae0f"

Loading…
Cancel
Save