ts-morph
ts-morph copied to clipboard
How to test?
If I have a function which takes Types like Node or Statement or InterfaceDeclaration etc. is there a possibility to test these without creating a file and a project?
how would you to test:
function(node: Node): PropertySignatureStructure[] {}
function(statement: Statement): PropertySignatureStructure[] {}
function(interface: InterfaceDeclaration): PropertySignatureStructure[] {}