Skip to content

A way to document "export from" types? #964

Closed
@gwynjudd

Description

@gwynjudd

Problem

I've got something like this:

[picklist/index.ts]

/**
 * @module picklist
 */

export * from './controller';
export * from './shims';
export * from './view-item';
export * from './view';
import * as Picklist from 'picklist/index';

export interface Foo {
  Picklist: typeof Picklist;
}

The question is, how to document [Foo.Picklist]? Currently it is coming out like this in the docs:

image

There is no documentation generated for the Picklist type.

By comparison, types that are generated without using the "export from" syntax don't have this problem.

Suggested Solution

Don't really know to be honest. Seems like it could be related to #516.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions