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) #48

Merged
merged 1 commit into from
Sep 12, 2016
Merged

Add typescript template generator (not defaulted) #48

merged 1 commit into from
Sep 12, 2016

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
```
@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.

@bdrazhzhov bdrazhzhov merged commit 36f4068 into typescript-ruby:master Sep 12, 2016
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.

3 participants