From 762ac2bf354e4cc2c4b15f42502da939f5061646 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Fri, 9 Aug 2024 16:48:18 -0400
Subject: a bunch more typing fixes.

---
 src/client/views/FieldsDropdown.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/client/views/FieldsDropdown.tsx')

diff --git a/src/client/views/FieldsDropdown.tsx b/src/client/views/FieldsDropdown.tsx
index 0ea0ebd83..407031b40 100644
--- a/src/client/views/FieldsDropdown.tsx
+++ b/src/client/views/FieldsDropdown.tsx
@@ -29,7 +29,7 @@ interface fieldsDropdownProps {
 @observer
 export class FieldsDropdown extends ObservableReactComponent<fieldsDropdownProps> {
     @observable _newField = '';
-    constructor(props: any) {
+    constructor(props: fieldsDropdownProps) {
         super(props);
         makeObservable(this);
     }
@@ -101,13 +101,13 @@ export class FieldsDropdown extends ObservableReactComponent<fieldsDropdownProps
                     }),
                 }}
                 placeholder={typeof this._props.placeholder === 'string' ? this._props.placeholder : this._props.placeholder?.()}
-                options={options as any}
+                options={options}
                 isMulti={false}
-                onChange={val => this._props.selectFunc((val as any as { value: string; label: string }).value)}
+                onChange={val => this._props.selectFunc((val as { value: string; label: string }).value)}
                 onKeyDown={e => {
                     if (e.key === 'Enter') {
                         runInAction(() => {
-                            this._props.selectFunc((this._newField = (e.nativeEvent.target as any)?.value));
+                            this._props.selectFunc((this._newField = (e.nativeEvent.target as HTMLSelectElement)?.value));
                         });
                     }
                     e.stopPropagation();
-- 
cgit v1.2.3-70-g09d2

