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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add type declarations to libs and styles #2435

Merged
merged 4 commits into from Jul 25, 2022

Conversation

HellWolf93
Copy link
Collaborator

No description provided.

@commit-lint
Copy link

commit-lint bot commented Jul 22, 2022

Features

  • add type declarations to libs and styles (d7a9a5a)

Bug Fixes

  • improve types for styles and libs (c7ca424)

Contributors

HellWolf93

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@github-actions
Copy link

github-actions bot commented Jul 22, 2022

Visit the preview URL for this PR (updated for commit e696093):

https://react-rainbow--pr2435-add-libs-styles-type-alebnb6q.web.app

(expires Mon, 01 Aug 2022 22:33:52 GMT)

馃敟 via Firebase Hosting GitHub Action 馃寧

toggle: () => void;
}

declare function useDisclosure(defaultIsOpen: any): Disclosure;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should not use any

toggle: () => void;
}

declare function useDisclosure(defaultIsOpen: any): Disclosure;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also here defaultIsOpen should be optional

@@ -0,0 +1,2 @@
declare function useErrorMessageId(error: any): string | undefined;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same ^^ no any and optional

@@ -0,0 +1,2 @@
declare function useLabelId(label: any): string | undefined;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same ^^

@@ -0,0 +1,2 @@
declare function useLocale(localProp: string): string;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional

@@ -0,0 +1,2 @@
declare function useUniqueIdentifier(prefix: string): string;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional

@codeclimate
Copy link

codeclimate bot commented Jul 25, 2022

Code Climate has analyzed commit e606127 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 3

View more on Code Climate.

@LeandroTorresSicilia LeandroTorresSicilia merged commit 344383c into master Jul 25, 2022
@LeandroTorresSicilia LeandroTorresSicilia deleted the add-libs-styles-types branch July 25, 2022 22:31
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.

None yet

2 participants