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
File tree
2 files changed
+1167
-84
lines changed- packages
- helpers/lib/class
- tests
2 files changed
+1167
-84
lines changed
0 commit comments