Replies: 1 comment 4 replies
-
You should be able to use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to be able to programmatically format some Typescript that I've generated in my project https://github.com/Teajey/accord
I feel like I should be able to input an unformatted string of Typescript, and receive a formatted string of Typescript as output. But so far I've only been able to find functions, such as
parse_js
, in these libraries that take a path to a file as input. That would be fine except for in my tests I don't want to have to write Typescript to a file in order to format it...So is this possible, or am I barking up the wrong tree?
Beta Was this translation helpful? Give feedback.
All reactions