mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix error caused by typescript upgrade (#20408)
This commit is contained in:
@@ -57,7 +57,7 @@ export class DatasourceSrv implements DataSourceService {
|
||||
return this.loadDatasource(name);
|
||||
}
|
||||
|
||||
loadDatasource(name: string): Promise<DataSourceApi> {
|
||||
loadDatasource(name: string): Promise<DataSourceApi<any, any>> {
|
||||
// Expression Datasource (not a real datasource)
|
||||
if (name === expressionDatasource.name) {
|
||||
this.datasources[name] = expressionDatasource as any;
|
||||
|
||||
Reference in New Issue
Block a user