Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ts-morph instead of Handlebars #81

Open
ffflorian opened this issue Aug 14, 2019 · 0 comments
Open

Use ts-morph instead of Handlebars #81

ffflorian opened this issue Aug 14, 2019 · 0 comments

Comments

@ffflorian
Copy link
Member

ffflorian commented Aug 14, 2019

ts-morph can create TypeScript with TypeScript. We should use it instead of using a template engine.

Pros

  • Cleaner TypeScript code
  • Staying in the TS world without reading external files
  • No more manual comment building
  • Handlebars is made for HTML

Cons

  • A lot of work for no visible output
  • There might be some TS expressions which are not supported by ts-morph yet (they need to be written manually then).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant