DamianEdwards / grunt-tsng

A TypeScript pre-processor for AngularJS
Apache License 2.0
29 stars 3 forks source link

Make the parsing assume a single construct per file #3

Open DamianEdwards opened 10 years ago

DamianEdwards commented 10 years ago

Right now the parser/emitter is in a hybrid state where it sometimes expects only one item (controller, directive, etc.) per file, and in other places it acts as if it supports multiple per file. This is confusing and making it hard to make changes.