mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 07:32:13 +08:00
Chore: Various type improvements (#77877)
* more datasource type fixes * more type updates
This commit is contained in:
@ -184,7 +184,7 @@ export function getVariableTypes(): Array<{ label: string; value: VariableType }
|
||||
}));
|
||||
}
|
||||
|
||||
function getUrlValueForComparison(value: any): any {
|
||||
function getUrlValueForComparison(value: unknown) {
|
||||
if (isArray(value)) {
|
||||
if (value.length === 0) {
|
||||
value = undefined;
|
||||
|
Reference in New Issue
Block a user