Get rid of any.
This commit is contained in:
parent
a1553ac0bf
commit
0e30ec1f96
1 changed files with 7 additions and 1 deletions
|
@ -695,7 +695,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