-
Notifications
You must be signed in to change notification settings - Fork 324
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
0.44.0 intersection types regression #387
Comments
Not sure... But we do have a similar test here https://github.com/YousefED/typescript-json-schema/blob/master/test/programs/type-intersection/main.ts and everything is passing on CI. |
I bisected the commits, and it was introduced in b69cd3c |
Can you improve the test scenarios and try to handle it? I did in this comment my best but if something was not covered then it is hard to be safe... Maybe I will have time at the weekend to look at it... |
It's very understandable that it happens when it's not covered by tests, this just happens from time to time. Nobody blames you :) I can create a PR with a test-case that should pass, but I'm afraid that I'm not familiar enough with the guts of this package to fix it. |
Thank you for debugging, providing a test case, and helping to fix the issue both of you! |
Hey guys, do you know if there is any progress with this issue? |
types.ts
given these types:program.ts
and a program that generates the schema:0.43.0 gives the expected intersection:
0.44.0 HrefLink properties is missing in
myLink
:The text was updated successfully, but these errors were encountered: