lit icon indicating copy to clipboard operation
lit copied to clipboard

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

Open maicol07 opened this issue 4 months ago • 1 comments

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

maicol07 avatar Jan 29 '24 23:01 maicol07

We could possibly add an option for this (contributions accepted!) but tools really should read superclass and mixin properties.

justinfagnani avatar Jan 30 '24 00:01 justinfagnani