Skip to content

Build error when generating typescript-axios #15

Open
@JohnGuan

Description

@JohnGuan

Recorded here for now.

Current guess is that it's an issue with several type enumerations in JoinedNetwork. Probably creating the appropriate Scheme will fix it. Or maybe a generator error? (Unlikely).

Details: https://github.com/JohnGuan/zerotier-one-api-client/actions/runs/11702245296/job/32590054086#step:7:21

Error: api.ts(698,25): error TS2314: Generic type 'Array<T>' requires 1 type argument(s).
Error: api.ts(770,15): error TS2304: Cannot find name 'JoinedNetworkStatusEnum'.
Error: api.ts(776,13): error TS2304: Cannot find name 'JoinedNetworkTypeEnum'.

I'll do some validation later and maybe submit a pr if it's welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions