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

build: Updated to TS 4.9 and build chain #567

Merged
merged 7 commits into from
Nov 30, 2022

Conversation

rkaraivanov
Copy link
Member

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.

@rkaraivanov rkaraivanov added documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Nov 29, 2022
@@ -43,6 +41,8 @@ export default class IgcIconComponent extends SizableMixin(LitElement) {
*
* @attr [name=""]
*/
@property()
@alternateName('iconName')
Copy link
Member

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

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

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

Simple prop works too :)

@damyanpetev damyanpetev merged commit e7d9332 into master Nov 30, 2022
@damyanpetev damyanpetev deleted the rkaraivanov/bump-dependencies branch November 30, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation squash-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants