-
Notifications
You must be signed in to change notification settings - Fork 4
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
build: Updated to TS 4.9 and build chain #567
Conversation
@@ -43,6 +41,8 @@ export default class IgcIconComponent extends SizableMixin(LitElement) { | |||
* | |||
* @attr [name=""] | |||
*/ | |||
@property() | |||
@alternateName('iconName') |
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.
@rkaraivanov This seems to mess with the current function of @alternateName
, seems to be read off of setters only.
// CC @gmurray81
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.
Actually, /* alternateName: iconName */
on the setter seems to also do the job, so we might default to that
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.
Simple prop works too :)
There seems to be some issue with the Lit linting tools with the latest TS version.
That's why there is bunch of
@attr
tags for public properties that are also attributes.