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

Fix missed rename, and improve types #276

Merged
merged 2 commits into from
Jan 6, 2024
Merged

Conversation

emma-sg
Copy link
Member

@emma-sg emma-sg commented Jan 5, 2024

Fixes a missed rename, in src/item-index.ts: I'd renamed coll to item but missed updating it in the update method's changedProperties map.

This PR fixes that, and adds better typing to all of the instances of changedProperties by using PropertyValues<this>, and implementing class properties for missing Lit properties.

@emma-sg emma-sg added bug Something isn't working javascript Pull requests that update Javascript code front end This issue requires front-end development work labels Jan 5, 2024
@emma-sg emma-sg self-assigned this Jan 5, 2024
@ikreymer ikreymer merged commit a404711 into dev-2.0.0 Jan 6, 2024
6 checks passed
@ikreymer ikreymer deleted the emma/fix-rename-issues branch January 6, 2024 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front end This issue requires front-end development work javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants