Commit 6504dce
refactor: ts helpers (#568)
* handle different quotes for string literal types
* refactor find methods to return an object in place of an array
* fix broken tests
* refactor hasTypeProps, remove hasTypeProp, fix broken tests
* implement Oliver's suggestions
* always return a sourceFile, unwrap single-statement sourceFiles
* add getBody
* feat: allow direct chaining without getBody
* refactor: stylistic cleanup
* add test for variables nested in arrow functions
---------
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>1 parent 479952f commit 6504dce
File tree
3 files changed
+707
-976
lines changed- packages
- helpers/lib/class
- tests
- integration-tests
3 files changed
+707
-976
lines changed
0 commit comments