Get rid of any.
This commit is contained in:
parent
312a6066e4
commit
2e72d42d22
|
@ -699,7 +699,13 @@ export type NodesFilter = {
|
|||
onlineState?: OnlineState;
|
||||
};
|
||||
|
||||
export const NODES_FILTER_FIELDS = {
|
||||
export const NODES_FILTER_FIELDS: Record<
|
||||
keyof NodesFilter,
|
||||
| BooleanConstructor
|
||||
| StringConstructor
|
||||
| typeof MonitoringState
|
||||
| typeof OnlineState
|
||||
> = {
|
||||
hasKey: Boolean,
|
||||
hasCoords: Boolean,
|
||||
monitoringState: MonitoringState,
|
||||
|
|
Loading…
Reference in a new issue