{"action":"created","issue":{"url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/22","labels_url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/22/comments","events_url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/22/events","html_url":"https://github.com/typescript-ruby/typescript-rails/issues/22","id":53531043,"number":22,"title":"Change compiler default options","user":{"login":"FlavienBusseuil","id":5766884,"avatar_url":"https://avatars.githubusercontent.com/u/5766884?v=3","gravatar_id":"","url":"https://api.github.com/users/FlavienBusseuil","html_url":"https://github.com/FlavienBusseuil","followers_url":"https://api.github.com/users/FlavienBusseuil/followers","following_url":"https://api.github.com/users/FlavienBusseuil/following{/other_user}","gists_url":"https://api.github.com/users/FlavienBusseuil/gists{/gist_id}","starred_url":"https://api.github.com/users/FlavienBusseuil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlavienBusseuil/subscriptions","organizations_url":"https://api.github.com/users/FlavienBusseuil/orgs","repos_url":"https://api.github.com/users/FlavienBusseuil/repos","events_url":"https://api.github.com/users/FlavienBusseuil/events{/privacy}","received_events_url":"https://api.github.com/users/FlavienBusseuil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-06T16:15:57Z","updated_at":"2015-06-01T19:26:58Z","closed_at":"2015-06-01T19:26:58Z","body":"I'm wondering how can I change the default compiler options set in compiler.rb (those described in the readme) :\r\n\\# Its defaults are `--target ES5 --noImplicitAny`.\r\nTypescript::Rails::Compiler.default_options = [ ... ]\r\n\r\nTo this day, I used to directly change the source file, and that's working. But I'm looking for a proper way of doing that, without changing the gem sources files directly, maybe some how in my rails project.\r\n"},"comment":{"url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/comments/107678116","html_url":"https://github.com/typescript-ruby/typescript-rails/issues/22#issuecomment-107678116","issue_url":"https://api.github.com/repos/typescript-ruby/typescript-rails/issues/22","id":107678116,"user":{"login":"FlavienBusseuil","id":5766884,"avatar_url":"https://avatars.githubusercontent.com/u/5766884?v=3","gravatar_id":"","url":"https://api.github.com/users/FlavienBusseuil","html_url":"https://github.com/FlavienBusseuil","followers_url":"https://api.github.com/users/FlavienBusseuil/followers","following_url":"https://api.github.com/users/FlavienBusseuil/following{/other_user}","gists_url":"https://api.github.com/users/FlavienBusseuil/gists{/gist_id}","starred_url":"https://api.github.com/users/FlavienBusseuil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlavienBusseuil/subscriptions","organizations_url":"https://api.github.com/users/FlavienBusseuil/orgs","repos_url":"https://api.github.com/users/FlavienBusseuil/repos","events_url":"https://api.github.com/users/FlavienBusseuil/events{/privacy}","received_events_url":"https://api.github.com/users/FlavienBusseuil/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T19:26:58Z","updated_at":"2015-06-01T19:26:58Z","body":"Oh cool, I was simply not aware of the /config/initializers mechanism. :)\r\nThanks for your answer!"}}