You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, we have these JSON translation files, so we don't really have the option of how they're structured, and they're all over the board. An example slice of one we've got has two different definitions for title:
If you paste this on https://shakyshane.github.io/json-ts/, you'll get this output (not that it merged our title together into an interface with all of the properties as optional):
It's not even really important how you handle the naming... ITitle and ITitle2 or IHistoryTitle and ISearchTitle would both work (the latter might be easier to handle?).
The text was updated successfully, but these errors were encountered:
Is there a way to handle collisions differently?
For example, we have these JSON translation files, so we don't really have the option of how they're structured, and they're all over the board. An example slice of one we've got has two different definitions for
title
:If you paste this on https://shakyshane.github.io/json-ts/, you'll get this output (not that it merged our
title
together into an interface with all of the properties as optional):This has caused some issues. Is there a way we could have the output for this (perhaps with a flag) be something like:
It's not even really important how you handle the naming...
ITitle
andITitle2
orIHistoryTitle
andISearchTitle
would both work (the latter might be easier to handle?).The text was updated successfully, but these errors were encountered: