dsherret / dsherret/ts-morph

How to test?

Open
#856 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

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[] {}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.