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

Fix type for debounce input #257

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Conversation

SerhiiTsybulskyi
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Wrong type cause error (cloud build):

error TS2322: Type '{ ref: ForwardedRef<InputRef>; startAdornment: Element; endAdornment: Element; placeholder: any; value: any; onChange: (e: ChangeEvent<HTMLInputElement>) => any; disabled: any; debounce: any; className: string; containerClassname: string; }' is not assignable to type 'IntrinsicAttributes & DebouncedInputProps & InputRef'

Copy link

netlify bot commented Sep 2, 2024

Deploy Preview for reablocks-storybook ready!

Name Link
🔨 Latest commit a219e2e
🔍 Latest deploy log https://app.netlify.com/sites/reablocks-storybook/deploys/66d5700fa2dc20000726fca9
😎 Deploy Preview https://deploy-preview-257--reablocks-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SerhiiTsybulskyi SerhiiTsybulskyi merged commit 94a19d4 into master Sep 2, 2024
5 checks passed
@SerhiiTsybulskyi SerhiiTsybulskyi deleted the fix-debounce-input-type branch September 2, 2024 08:04
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.

2 participants