Skip to content

docs-type library does not resolve type/enum/interface located in another type properly with docs-json output target #4954

@venkatesh-nagineni

Description

@venkatesh-nagineni
 @stencil/core@4.5.0

Current behavior:
I have a couple of types and enums associated with my component props, as i generating my readme files based on docs json which contain all type info with typeLibrary but some of the enums not resolving properly

Expected behavior:
All types should be resolved as expected and used in component

GitHub Reproduction Link:
https://codesandbox.io/p/sandbox/stencil-web-component-forked-s2vpml?file=%2Fsrc%2Fcomponents%2Fmy-component%2Fmy-component.tsx%3A24%2C1

Other information:

enum DsAlertEventStatus completely missing

and this is also missing partially in declaration type TIconType = 'error'; where it is only present "declaration": "\"error\"",

there is also TDsOptions which also produce quite different output like Array<T> which is quite unexpected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions