Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve TypeScript definitions by adding missing component exports #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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