Skip to content

Importing sometimes imports relative path instead of absolute when using project references #32144

@Tyriar

Description

@Tyriar

TypeScript Version: 3.5.2

Code

Auto importing CellData in https://github.com/xtermjs/xterm.js/blob/73521390d29c8a111058a6a7d08edd827ba498b7/src/browser/ColorManager.ts will import from ../../out/common instead of common/

Screen Shot 2019-06-27 at 11 23 24 AM

See tsconfigs:

Expected behavior:

import { CellData } from 'common/buffer/CellData';

Actual behavior:

import { CellData } from '../../out/common/buffer/CellData';

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptVS Code PriorityCritical issues that VS Code needs fixed in the current TypeScript milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions