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

GenerateMetadataError: Unknown type: IntrinsicKeyword #1623

Open
denizdogan opened this issue May 6, 2024 · 1 comment
Open

GenerateMetadataError: Unknown type: IntrinsicKeyword #1623

denizdogan opened this issue May 6, 2024 · 1 comment

Comments

@denizdogan
Copy link

denizdogan commented May 6, 2024

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.

Copy link

github-actions bot commented May 6, 2024

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.👀

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

1 participant