eclipse-tractusx / portal-shared-components

Portal Shared UI Components
https://eclipse-tractusx.github.io/portal-shared-components
Apache License 2.0
2 stars 14 forks source link

Remove use of 'any' type #311

Closed shahmargi12 closed 6 hours ago

shahmargi12 commented 2 months ago

Current Behavior

The codebase uses the any type and contains eslint-disable-next-line comments, affecting type safety and code quality.

Expected Behavior

The any type is replaced with appropriate explicit types, and unnecessary eslint-disable-next-line comments are removed, leading to improved type safety and cleaner code.

Steps To Reproduce

  1. Search for occurrences of the any type and eslint-disable-next-line comments.
  2. Confirm that all any types have been substituted with specific types.
  3. Verify that eslint-disable-next-line comments are removed where they are no longer needed.
  4. Run yarn lint to ensure that no new linting issues are introduced by these changes.

Additional Information

Make sure that the project builds successfully and all tests pass after these modifications.