mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: noImplicitAny Sub 500 errors (#18287)
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user