-
Notifications
You must be signed in to change notification settings - Fork 239
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
addition of typescript files #686
Conversation
This is great, thanks for the contribution @Layla-P! The typings are a good fit for this repo, as they will then be available for all consuming repos. However the typescript api code introduced is not a good fit, as it doesn't reflect the programming model currently used in this repo. Could you please remove the APIs and include only the typescript typings in this PR? |
Hey @bleathem I have removed the files as requested. Are you happy with the typings files I have included? Or would you just like the patternfly one? |
I looked through the typescript definitions and there is a lot here. The definitions in patternfly.d.ts look like something we could pull into Patternfly because it's based on our scripts. I'm not sure about the definitions for jQuery, C3, D3, Datatables, and Bootstrap? |
@dlabrecq I have written several typescript api's which make use of the type definitions such as a charting api. However, Brian asked me not to include them as he thought them not to be generic enough. |
Can you please share the documentation? That would be very helpful. Thanks! |
@dlabrecq I have emailed you on your redhat email. |
Thanks again for the contribution @Layla-P. I discussed this PR with @dlabrecq and @jeff-phillips-18. While we feel the typings overall would be very useful for someone building there application with patternfly, the non-pattternfly typings would be better suited for a library like https://github.com/DefinitelyTyped/DefinitelyTyped. The patternfly typing is however something that makes sense for use to host. Would you mind updating this PR to include only the patternfly typings file? |
I added a commit to this PR removing the non-jquery typings. I will next send an e-mail to patternfly-list to kickstart a discussion around whether or not the community would find the inclusion of this typings file to be a valuable addition to patternfly. |
Hey Brian,
Sorry I didnt get back to you. As you know I can't do this at work as we
dont have fit and personally it's been a tough couple of weeks.
I'd still like to contribute but not sure what.
Kind regards,
Layla
…On 2 Aug 2017 22:58, "Brian Leathem" ***@***.***> wrote:
I added a commit to this PR removing the non-jquery typings. I will next
send an e-mail to patternfly-list to kickstart a discussion around whether
or not the community would find the inclusion of this typings file to be a
valuable addition to patternfly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<patternfly/patternfly#686 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/API6JnQxjk16Onqpr_vm_VpMpW9CBAzoks5sUPEZgaJpZM4Oebg2>
.
|
Replaced by #1043 - closing this PR - thanks for kicking off this conversation. |
Description
A definition type file has been created for patternfly.js
Changes
All new files
attn:
@bleathem