-
Notifications
You must be signed in to change notification settings - Fork 841
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
EuiFieldNumber: converted to Typescript #2685
EuiFieldNumber: converted to Typescript #2685
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
I left some code commented. I don't know if the goal of that If the validation should still be in place, how do you suggest I use this function? (I don't think I can use it to type the attribute in the interface, as it was the case with propTypes definitions) |
@chandlerprall, what do you think? I'd be comfortable removing |
Using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar changes to what you did with EuiFieldPassword
:
Remove the TS reference in src/components/form/index.d.ts
line 2:
/// <reference path="./field_number/index.d.ts" />
and then delete the ./field_number/index.d.ts
file as it is no longer needed
jenkins test this |
1 similar comment
jenkins test this |
Summary
Closes #2652
Converted
EuiFieldNumber
to Typescript.Checklist