Skip to content

Conversation

karnoark
Copy link

Improved TypeScript Declarations

Fixes #2
This PR improves the TypeScript definitions by adding missing component exports.

Solution

This PR adds complete type declarations for all exported components including:

  • Rating component
  • RatingInput component
  • FilledStar and EmptyStar helper components

The declarations maintain all existing JSDoc comments for better documentation while adding the missing component type definitions.

Testing Done

  • Verified that TypeScript correctly recognizes all exported components
  • Confirmed that existing props maintain their types
  • Tested with a project using TypeScript strict mode

Breaking Changes

None. This only adds type information and doesn't change any runtime behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete TypeScript definitions - missing component exports
1 participant