All data objects stored in the IArgdownResponse are simple object literals implementing an interface. You can simply instantiate an argument, statement or relation by creating an object literal and adding properties to it.
To support runtime type checking, each of these objects has a required
obj.type property with its own ArgdownTypes member as type.
Typescript will automatically narrow the type if you check if some object's type property is equal to a specific ArgdownTypes member.
Generated using TypeDoc