lukeautry / tsoa

Build OpenAPI-compliant REST APIs using TypeScript and Node
MIT License
3.48k stars 498 forks source link

GenerateMetadataError: Unknown type: IntrinsicKeyword #1623

Open denizdogan opened 5 months ago

denizdogan commented 5 months ago

Whenever I use Uppercase<T> within my types, this error is generated by tsoa:

Generate routes error.
 GenerateMetadataError: Unknown type: IntrinsicKeyword
At: /.../@tsoa/cli/node_modules/typescript/lib/lib.es5.d.ts:1653:1653.
This was caused by 'type Uppercase<S extends string> = intrinsic;'

Any ideas what I could do to get around this?

I use tsoa 6.2.1 with Node.js 18 and TypeScript 5.4.2.

github-actions[bot] commented 5 months ago

Hello there denizdogan 👋

Thank you for opening your very first issue in this project.

We will try to get back to you as soon as we can.👀

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

denizdogan commented 3 months ago

Not stale