Radarr/frontend
Cody Kickertz b17381f53f
fix(frontend): replace any types with proper TypeScript types (#88)
* fix(frontend): replace any types with proper TypeScript types

- AutoSuggestInput: use Data type from popper.js for modifier callback
- Tooltip: use Data type from popper.js for computeMaxSize callback
- OverlayScroller: use ComponentPropsWithoutRef<'div'> for renderView
- index.ts: use unknown[] instead of any[] for logError parameters

Improves type safety and removes eslint-disable comments.

Partially addresses #37

* fix(frontend): use ModifierFn type and string values for Popper styles

- Use ModifierFn type from popper.js for modifier callbacks
- Calculate bottom/right from offset properties (top+height, left+width)
- Convert numeric style values to strings with 'px' suffix
- Fix typo: 'botton' -> 'bottom' in AutoSuggestInput

---------

Co-authored-by: admin <admin@ardentleatherworks.com>
2025-12-21 10:38:16 -06:00
..
.vscode
build Migrate to ESLint 9 flat config 2025-12-19 14:44:01 -06:00
src fix(frontend): replace any types with proper TypeScript types (#88) 2025-12-21 10:38:16 -06:00
typings Convert Page components to TypeScript 2025-04-27 19:45:03 +03:00
.prettierignore
.prettierrc.json
.stylelintrc
.tern-project
babel.config.js
eslint.config.mjs Migrate to ESLint 9 flat config 2025-12-19 14:44:01 -06:00
jsconfig.json
postcss.config.js
tsconfig.json