Skip to content

Generated typings are broken #285

@z0al

Description

@z0al

Current Behavior

Generated typings are broken (literally) starting from v0.10.0. Here are some snippets:

    interface Query extends Object {
        id: ID;
        type?: ch;
        ';;
        exp;
    }
    interface Query extends Object {
        id: ID;
        type?: xport;
        fu;
    }

And YES, it duplicated almost every type declaration (see the full file here)

Expected behavior

Typings don't have syntax errors.

Suggested solution(s)

I think it's a bug in @wessberg/rollup-plugin-ts. I tried that lib before in a different project but quickly removed it due to the same issue.

Your environment

Software Version(s)
TSDX >= v0.10.0
TypeScript 3.6.4
Browser N/A
npm/Yarn 6.11.3
Node 12.8.1
Operating System Debian Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't workingscope: upstreamIssue in upstream dependencytopic: v0.10.xIssues related to broken builds in v0.10.x / @wessberg/rollup-plugin-ts

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions