Replies: 1 comment
-
It seems like an expected behavior because Bar is not a string, is a nested struct instead. Maybe the approach would be
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using library where there is a type like this
So, the actual shape of
Foo
is:Now generated TypeScript type is:
But shape javascript object is:
Since type Foo comes from a library I can't change that. What would be the best solution?
Beta Was this translation helpful? Give feedback.
All reactions