Closed danielschmitz closed 8 years ago
You need to create a tsconfig.json file with the compiler options for your project, including the kind of module you are compiling to:
{
"compilerOptions": {
"module": "<module kind>"
}
}
As of 1.7, the supported module kinds are "commonjs", "amd", "system", "umd", and "es6". You'll need to put in the kind of module used by the loader or build system that consumes your .js files.
Thank you!
File index.ts:
File Foo.ts
Error:
project: ModuleError.zip