Chore: noImplicitAny Sub 500 errors (#18287)

This commit is contained in:
Tobias Skarhed
2019-07-30 15:49:32 +02:00
committed by GitHub
parent 7949329636
commit 7891233812
74 changed files with 351 additions and 254 deletions

View File

@@ -1,6 +1,6 @@
import { DataSourceSettings } from '@grafana/ui';
export const getMockDataSources = (amount: number): DataSourceSettings[] => {
export const getMockDataSources = (amount: number) => {
const dataSources = [];
for (let i = 0; i <= amount; i++) {
@@ -22,7 +22,7 @@ export const getMockDataSources = (amount: number): DataSourceSettings[] => {
});
}
return dataSources;
return dataSources as DataSourceSettings[];
};
export const getMockDataSource = (): DataSourceSettings => {