Skip to content

Feature: Parsing complex custom types #15

@daveriedstra

Description

@daveriedstra

This annotation

[TsType("MyType[]", "./my-type")]

currently results in this incorrect import

import { MyType[] } from "./my-type";

The results are similar with MyType?. The workaround is to manually import the type in the .ts file with a custom header and not specify an import in TsType. Since that's simple enough to do, this issue is a feature request for parsing in the TsType attribute.

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