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

Handle negative numbers in enum #65

Closed
Embraser01 opened this issue Jun 20, 2024 · 0 comments · Fixed by #67
Closed

Handle negative numbers in enum #65

Embraser01 opened this issue Jun 20, 2024 · 0 comments · Fixed by #67
Labels
bug Something isn't working

Comments

@Embraser01
Copy link
Owner

Info: Generating spec 'qBittorrent WebUI API'
Internal Error: Debug Failure. False expression: Negative numbers should be created in combination with createPrefixUnaryExpression
    at Object.createNumericLiteral (C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\typescript\lib\typescript.js:24871:11)
    at C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\generator\utils\types.js:44:45
    at Array.map (<anonymous>)
    at createTypeFromSchema (C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\generator\utils\types.js:37:14)
    at C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\generator\utils\types.js:92:104
    at Array.map (<anonymous>)
    at createTypeFromSchema (C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\generator\utils\types.js:86:55)
    at C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\index.js:24:282
    at Array.map (<anonymous>)
    at createSchemaComponents (C:\Users\marca\AppData\Local\Temp\xfs-c80c06f2\dlx-24264\node_modules\@typoas\generator\lib\index.js:18:36)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant