open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
243 stars 45 forks source link

Provide real name instead of alias #259

Open fcollonval opened 6 months ago

fcollonval commented 6 months ago

With a snippet like,

import {
  AccordionItem as BaseAccordionItem
} from '@microsoft/fast-foundation';

export class MyElement extends BaseAccordionItem {
    foo = 'foo';
}

The manifest as the following description:

          "superclass": {
            "name": "BaseAccordionItem",
            "package": "@microsoft/fast-foundation"
          },

Wouldn't it be more interesting to know that we are using an alias and that the real name is AccordionItem. Something like:

          "superclass": {
            "alias": "BaseAccordionItem",
            "name": "AccordionItem",
            "package": "@microsoft/fast-foundation"
          },