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
As I mentioned here, I tried to switch to the other converter, but ran into a showstopper of a bug.
So far, the only little issue I have here is this, which I'd like to resolve.
The code:
/** A global template that can be referenced by unique key. */exporttypeNamedTemplate=Record<TemplateKey,InlineTemplate>;/** Template property definition in the Style. */exportinterfaceTopLevelTemplate{templates: NamedTemplate;}
Here's what it currently generates:
"NamedTemplate": {"description": "A global template that can be referenced by unique key.","type": "object"},
Here's what it should (I think?):
"NamedTemplate": {"description": "A global template that can be referenced by unique key.","type": "object","$ref": "#/definitions/InlineTemplate"},
EDIT: maybe a dup of #476 and #337?
As I mentioned here, I tried to switch to the other converter, but ran into a showstopper of a bug.
So far, the only little issue I have here is this, which I'd like to resolve.
The code:
Here's what it currently generates:
Here's what it should (I think?):
Edit: actually, output needs to use a patternProperty.
So why is the ref not added?
Is there anything I can do on my end to get this to work correctly?
The text was updated successfully, but these errors were encountered: