Commit 876ec23
authored
feat: Add more TS helper methods (#574)
* add getValue, getObjectProps
* add doesExtend, doesImplement and handle parameter and property comparisons in matches
* add isUnionOf
* update hasAnnotation test
* support array comparisons in .matches
* add hasReturn and fix bug
* add getConstructor and allow getClassProps to find props within the constructor
* add isPrivate, isReadOnly, isProtected, isPublic, hasNonNullAssertion
* refactor createTree, matches
* add more tests
* add generics support
* fix bugs1 parent 582918b commit 876ec23
2 files changed
Lines changed: 1167 additions & 84 deletions
0 commit comments