Replies: 2 comments
-
Hello @Tymek, I think I will need to do a fix for that |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Tymek at the moment you can just do "additionalProperties": true normally |
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
-
When I have additional properties (like in this source file), generated type has issues like for example
Property 'remoteAddress' of type 'string | undefined' is not assignable to 'string' index type 'string'.
because of index type[key: string]: string;
.Is there a way of making it work with TypeScript?
More details
From schema JSON:
I get output like so:
Beta Was this translation helpful? Give feedback.
All reactions