Skip to content

Include an option to export types instead of interfaces, for better intellisense #653

Open
@ianengelbrecht

Description

@ianengelbrecht

Seems types give better hints than interfaces, see example in the attached image. So I'm currently generating the interfaces, then changing them to types with a script, all in a build step. Would be nice if there was an option in json2ts to generate types directly.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions