We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
It would be great if TS could handle this:
if (typeof reply == 'string') { } else if (~['input', 'button'].indexOf(reply.typeName)) { const test = reply // Input or Button - currently everything }