-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
TypeScript 3.8.3: type checking failing #188
Comments
Can you please share the code how you are using it, for example how your routes looks like? |
These errors are build errors, which are related to wrong or incomplete type declarations in your code, which have nothing to do with the way my routes look like. Please check the diff i made. |
I do not have any type errors in my codebase and I am not sure you solution is correct. Maybe something wrong with |
It worked until i updated your library. So it must have to do with changes you made in your library. It is easy to reproduce. Use Typescript 3.8.3 and import your library. Actually the errors should come up. Already in your IDE if you use VSC. |
I just created a playground repo: https://github.com/frenzzy/universal-router-playground |
@StefanJelner any clue? |
@frenzzy reproduced example: frenzzy/universal-router-playground#1 (Apologies for the additional noise in the PR, it was cut and paste from a larger project). The issue only presents itself after the |
@frenzzy hi, I have the same problem with typescript 4.2.4 and I can confirm that bug appears after |
@frenzzy i'm experiencing the same problem with typescript 4.4.4, when importing |
Description: When compiling Universal Router with Typescript 3.8.3 i get the following type checking errors:
Solution: I already fixed it and attached a git diff to this bug report.
UniversalRouter.ts.txt
The text was updated successfully, but these errors were encountered: