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

is support IntrinsicKeyword ? #883

Closed
2 of 4 tasks
kahirokunn opened this issue Jan 8, 2021 · 3 comments
Closed
2 of 4 tasks

is support IntrinsicKeyword ? #883

kahirokunn opened this issue Jan 8, 2021 · 3 comments

Comments

@kahirokunn
Copy link

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

I gave the following type to the Body decorator and got the following error

type TestBody = {
  testHello: Uppercase<'hello'>
};

...

@Body() test: TestBody
There was a problem resolving type of 'Uppercase<'hello'>'.
There was a problem resolving type of 'TestBody'.
Generate routes error.
 Error: Unknown type: IntrinsicKeyword
...
This was caused by 'type Uppercase<S extends string> = intrinsic;'
 in 'TestController.TestSome'
@WoH
Copy link
Collaborator

WoH commented Jan 8, 2021

Fixed in #799 (unreleased)

@WoH WoH closed this as completed Jan 8, 2021
@yasseripio
Copy link

Hello, I get this reproduce this Error: Unknown type: IntrinsicKeyword error using the version 3.13.0, is the fix released?

@alandotcom
Copy link

This is happening again in 5.1.1

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

4 participants