Commit 14d1a54
committed
fix(eslint): Remove unnecessary type assertions
Removed unnecessary type assertions that were flagged by ESLint:
- inputField.tsx: Removed `as any` from e.target.value
- numberField.tsx: Removed `as any` from e.target.value
- onboarding.tsx: Removed `as number` assertions from stepper onClick handler
These assertions were unnecessary because TypeScript already infers the correct
types from the event handlers and component props.1 parent 6f2985e commit 14d1a54
File tree
3 files changed
+5
-5
lines changed- static/app
- components/forms/fields
- views/onboarding
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
| 218 | + | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments