lit / lit/lit

[Analyzer] Add a way to add inherit properties to element in manifest instead of superclass

Open
#4,529 1 comment 0 reactions 0 assignees View on GitHub
Good First Issue
Dominant language
TypeScript
Stars
21.8k
Forks
1.1k
Avg merge
18h 25m
Merged PRs (30d)
2

Description

### Should this be an RFC?

- [X] This is not a substantial change

### Which package is this a feature request for?

Analyzer (@lit-labs/analyzer)

### Description

Components that inherit other Lit webcomponents don't inherit properties (but just set the `superclass` field). This breaks the compatibility with external tools.
See: https://github.com/break-stuff/cem-tools/issues/69

### Alternatives and Workarounds

CEM analyzer works fine

Contributor guide

Open the contributing guide

Research direction

Start with the @lit-labs/analyzer package and its manifest output, then read the linked cem-tools issue for the compatibility problem. Determine how inherited Lit component properties should be represented without relying only on the superclass field; done means external tools can consume those properties correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.