-
Notifications
You must be signed in to change notification settings - Fork 1
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
A weird issue with "Cannot generate type X as TypeScript." #33
Comments
We can discuss it more on slack, but the first example does successfully codegen for me, working with a
|
Separately from the bug report, some notes on your Pkl code:
|
I've been so confused about the Anys, thank you! I'll clean those up as that was exactly the effect i was looking for, i just didn't realize that was the difference between |
I get the following (confusing!) error. Code is below:
This causes the error:
This works:
The interesting bit is there's no problem with
InfuseStat
, justInfuseRule
, and the only major diff i can see is that the types inside InfuseStat all have the same shape, but the rules have different keys...The text was updated successfully, but these errors were encountered: