Issue 1:
I am using standar symfony2 forms but I stuck with error displaying.

I am trying to use form->getErrors() but it returns empty array (tested with var_dump), but if I use form->getErrorsAsString() I've got the errors.

Issue 2:
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 poor, don't mind it). The error information as below:

See Error Stack Trace

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,2): error TS1110: Type expected.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,7): error TS1005: ':' expected.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,21): error TS1005: ';' expected.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS1109: Expression expected.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(4,22): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(6,20): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(7,25): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(8,7): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(9,5): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(10,3): error TS1161: Unterminated regular expression literal.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(11,1): error TS1005: ':' expected.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,3): error TS2304: Cannot find name 'xml'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,7): error TS2304: Cannot find name 'version'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,21): error TS2304: Cannot find name 'encoding'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(1,38): error TS2365: Operator '<' cannot be applied to types 'boolean' and 'RegExp'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(2,2): error TS2304: Cannot find name 'TS'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(3,4): error TS2304: Cannot find name 'context'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(4,6): error TS2304: Cannot find name 'name'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(4,11): error TS2304: Cannot find name 'resources'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(5,6): error TS2304: Cannot find name 'message'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(6,8): error TS2304: Cannot find name 'source'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(6,15): error TS2304: Cannot find name 'foo'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(7,8): error TS2304: Cannot find name 'translation'.

ERROR in /home/vagrant/Code/oustn_web/vendor/symfonybank/translation/Tests/fixtures/resources.ts

(7,20): error TS2304: Cannot find name 'bar'.