{"action":"opened","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19293","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19293/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19293/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19293/events","html_url":"https://github.com/symfony/symfony/issues/19293","id":163838654,"number":19293,"title":"The \"symfony\\translation\\Tests\\fixtures\\resources.ts\" will make some mistake when use typescript in project","user":{"login":"oustn","id":16217347,"avatar_url":"https://avatars.githubusercontent.com/u/16217347?v=3","gravatar_id":"","url":"https://api.github.com/users/oustn","html_url":"https://github.com/oustn","followers_url":"https://api.github.com/users/oustn/followers","following_url":"https://api.github.com/users/oustn/following{/other_user}","gists_url":"https://api.github.com/users/oustn/gists{/gist_id}","starred_url":"https://api.github.com/users/oustn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oustn/subscriptions","organizations_url":"https://api.github.com/users/oustn/orgs","repos_url":"https://api.github.com/users/oustn/repos","events_url":"https://api.github.com/users/oustn/events{/privacy}","received_events_url":"https://api.github.com/users/oustn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T12:27:18Z","updated_at":"2016-07-05T12:27:18Z","closed_at":null,"body":"I use Angular 2 with Laravel. When the webpack check the typescript files, The \"symfony\\translation\\Tests\\fixtures\\resources.ts\" will be treat as a typescript file. Actually it's a xml file I think. So hope you can fix it,thank.(My English is pool,don't mind it). The error information as below:\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,2): error TS1110: Type expected.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,7): error TS1005: ':' expected.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,21): error TS1005: ';' expected.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS1109: Expression expected.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(4,22): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(6,20): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(7,25): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(8,7): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(9,5): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(10,3): error TS1161: Unterminated regular expression literal.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(11,1): error TS1005: ':' expected.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,3): error TS2304: Cannot find name 'xml'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,7): error TS2304: Cannot find name 'version'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,21): error TS2304: Cannot find name 'encoding'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(2,2): error TS2304: Cannot find name 'TS'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(3,4): error TS2304: Cannot find name 'context'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(4,6): error TS2304: Cannot find name 'name'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(4,11): error TS2304: Cannot find name 'resources'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(5,6): error TS2304: Cannot find name 'message'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(6,8): error TS2304: Cannot find name 'source'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(6,15): error TS2304: Cannot find name 'foo'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(7,8): error TS2304: Cannot find name 'translation'.\r\n\r\nERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts\r\n(7,20): error TS2304: Cannot find name 'bar'."}}
{"actor":{"display_login":"oustn"}}