I'm trying to setup an angularJS based code in using typescript.
Created initial project structure using yeoman.io using 'generator-gulp-angular' module. For my business code trying to use typescript, I followed this TypeScript - How to keep compiled files in a separate directory? to separate out js files into another directory.
All different JS file are automatically merged into single JS file - this came with yeoman generated code.
The issue I'm facing is I wanted to used inheritance feature of typescript, after compiling TS code base.js and derived.js is generated. However when I run gulp build (again came with yeoman code), which tries to launch phantomJS it gives me below error:
undefined is not an object (evaluating 'b.prototype')
After searching on net I found that It has something to do with sequence with of JS files being loaded but in my case I've one single JS file.