Right now, the Node tsc compiler looks at the tsconfig.jsonfile which looks something like this:
{
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true
}
}
Using the "module": "system" line, you can specify it to use SystemJS for managing modules. Is it possible to configure which configuration file SystemJS will use? I'd like to be able to specify custom defined modules so that Typescript won't complain about them, without having to create a separate .d.ts file for each one. It doesn't appear to be looking at either systemjs.config.js or system-config.js right now.
.d.tsfiles. But what's wrong with using typings or the typescript 2 @types? Sounds exactly what you're looking for.