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

Add typescript template generator (not defaulted) #47

Closed
wants to merge 1 commit into from
Closed

Add typescript template generator (not defaulted) #47

wants to merge 1 commit into from

Conversation

mjfaga
Copy link
Contributor

@mjfaga mjfaga commented Aug 26, 2016

Adds all of the plumbing to support a .ts file template generator. In the spirit of maintiaining existing functionality, we do not default the default javascript generator to typescript. However, anyone can opt into this functionality by adding the following to their config/application.rb:

config.generators do |g|
  g.javascript_engine :typescript
end

Adds all of the plumbing to support a .ts file template generator. In the spirit of maintiaining existing functionality, we do not default the default javascript generator to typescript. However, anyone can opt into this functionality by adding the following to their `config/application.rb`:
```ruby
config.generators do |g|
  g.javascript_engine :typescript
end
```
@mjfaga mjfaga closed this Aug 26, 2016
@mjfaga mjfaga deleted the generate_ts_file branch August 26, 2016 15:50
@mjfaga mjfaga restored the generate_ts_file branch August 26, 2016 15:51
@coveralls
Copy link

coveralls commented Aug 26, 2016

Coverage Status

Coverage increased (+1.0%) to 91.827% when pulling e4fa4ea on mjfaga:generate_ts_file into 2c8c006 on typescript-ruby:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants