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

chore(deps-dev): remove Lit dependency #101

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

barronhagerman
Copy link
Contributor

Summary

The lit dependency is only used for the TypeScript mixins. However, the constructor should not be required to be a Lit element, as it should work with any web component.

  • Removes the lit dependency
  • Replaces the LitElement type with HTMLElement

* The component should not be required to be a Lit element
@jrobinson01
Copy link
Contributor

This is probably fine but we'll need to test with a downstream typescript project to make sure things don't fall apart. Getting the types right on these mixins so they play nice with js, closure-compiler js, and ts has been a bear.

@jrobinson01 jrobinson01 merged commit 0350fec into master Sep 4, 2024
5 checks passed
@jrobinson01 jrobinson01 deleted the deps-remove-lit branch September 4, 2024 15:57
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.

2 participants