getting "Cannot compile external modules unless the '--module' flag is provided."

Dec 7, 2014 at 3:23 PM
Hi I am getting the following error using a blank project.
"Cannot compile external modules unless the '--module' flag is provided."
It works fine on the command line using tsc with the module flag set, but I am getting that error on my own .ts file when adding it to a "HTML Application with TypeScript" project.
Dec 7, 2014 at 5:57 PM
Solved I should not have been using "export" on the module.
Marked as answer by RickWinter on 12/8/2014 at 11:16 AM