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

refactor(bananass-utils-console): add typedef to icons/index.js #37

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

lumirlumir
Copy link
Owner

This pull request introduces type definitions and annotations to the packages/bananass-utils-console/src/icons/index.js file to improve code readability and maintainability.

Key changes:

  • Added a SpinnerIcon typedef to define the structure of spinner icons.
  • Annotated various icon exports (successIcon, errorIcon, warningIcon, infoIcon, bananassIcon) with type information to specify that they are strings.
  • Annotated defaultSpinner with the SpinnerIcon type to ensure it adheres to the defined structure.

Copy link

Labels have been automatically applied based on the conventional commit types.🏷️

@lumirlumir lumirlumir merged commit 3200c12 into main Dec 19, 2024
3 checks passed
@lumirlumir lumirlumir deleted the refactor-typedef-icons-index branch December 19, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant