alias icon indicating copy to clipboard operation
alias copied to clipboard

Support AMD imports with baseUrl and without paths in ts config

Open eprincev-egor opened this issue 2 years ago • 0 comments

for example i have ts config:

{"compilerOptions": {
  "baseUrl": "./src"
}}

and have two source files

// pages/MainPage.ts
import {Grid} from "core/Grid";

// core/Grid.ts
export class Grid {}

i need to resolve import path in pages/MainPage.ts from "core/Grid" to "../core/Grid" because i have baseUrl in ts config and typescript understand types by path "core/Grid"

eprincev-egor avatar May 03 '23 17:05 eprincev-egor