Commit 1248457f by kay delaney Committed by GitHub

Chore: Fix error caused by typescript upgrade (#20408)

parent f1c83308
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment