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

Add most type definitions for most HDS components #205

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

jeffdaley
Copy link
Contributor

Adds mostly complete types for most of the HDS components we're using. For templates already type-checked by Glint, this removes many VSCode underlines and will allow make it much easier to remove @glint-nocheck declarations.

I generally skipped the component-like block yields for now, but hopefully we can make time to add them soon.

@jeffdaley jeffdaley requested a review from a team as a code owner June 7, 2023 22:40
@@ -17,7 +16,7 @@
<Hds::Link::Inline
@icon="external-link"
@iconPosition="trailing"
@hrefIsExternal={{true}}
@isHrefExternal={{true}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Glint doing its job. (I'm sure I'll find more mistakes as we remove nochecks.

@jeffdaley jeffdaley merged commit 06494e5 into main Jun 9, 2023
1 check passed
@jeffdaley jeffdaley deleted the jeffdaley/register-hds-components branch June 9, 2023 13:52
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
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