Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error when generating typescript-axios #15

Open
JohnGuan opened this issue Nov 6, 2024 · 1 comment
Open

Build error when generating typescript-axios #15

JohnGuan opened this issue Nov 6, 2024 · 1 comment

Comments

@JohnGuan
Copy link

JohnGuan commented Nov 6, 2024

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.

@laduke
Copy link
Contributor

laduke commented Nov 6, 2024

not sure. the other generators i've used have succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants