facebook

Angular IDE: typescript path mapping

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #597233 Reply

    isergius
    Participant

    TypeScript has the ability to map paths in tsconfig.json:

    
    {
      "compilerOptions": {
        "baseUrl": ".",
        "paths": {
          "@libs": [
            "libraries/*"
          ]
        }
      }
    }
    

    And then we can use the import as follows:

    
    import {SomeLib} from '@libs/library1';
    

    But now the Angular IDE emphasizes this import as a mistake.
    Are there any plans to add support for typescript path mapping to Angular IDE?

    #597319 Reply

    support-swapna
    Moderator

    isergius,

    Thank you for pointing to this issue. I could replicate the problem at my end as well.
    I have filed a bug for the dev team to look into it. We will keep you posted when the fix is out.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Angular IDE: typescript path mapping

You must be logged in to post in the forum log in