I am currently using IntelliJ as my IDE, but I am facing an issue with configuring gulp-typescript
to compile my typescript code. The problem arises from the fact that IntelliJ does not treat my reference paths relatively, instead it references them from my app's root directory. This situation makes it difficult to get the references working properly for both IntelliJ and the Compiler simultaneously.
https://i.stack.imgur.com/R5OoN.png
The file in question is located at
app/components/my-module/my-module.module.js
, while its definition can be found in app/definitions/tsd.d.ts
. How can this issue be resolved in a way that satisfies both IntelliJ and the Compiler?