简体   繁体   中英

IntelliJ Typescript Reference Paths Aren't Relative

I'm using IntelliJ as my IDE but I want to use gulp-typescript to compile my typescript. The issue is, IntelliJ is not treating my reference paths relatively but from my app root, meaning I can get references to work for either IntelliJ or the Compiler but not both.

在此处输入图片说明

This file is in app/components/my-module/my-module.module.js where the definition is in app/definitions/tsd.d.ts . How do I resolve this to where everyone is happy?

我使用的是IntelliJ13。升级到IntelliJ 14后,引用被视为相对路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM