TypeScript Version: 3.0.0-dev.20180628
Search Terms: import path, relative
Code
- clone https://github.com/fimbullinter/wotan
yarn
- creates a symlink
node_modules/@fimbul/<name> for each packages/<name>
- create a new file
packages/mimir/src/test.ts and paste the following content:
expressionNeedsParensWhenReplacingNode;
getWrappedNodeAtPosition;
AbstractRule;
- add imports for all identifiers using quick fixes
Expected behavior:
import { expressionNeedsParensWhenReplacingNode } from "./utils";
import { getWrappedNodeAtPosition } from 'tsutils';
import { AbstractRule } from '@fimbul/ymir';
expressionNeedsParensWhenReplacingNode;
getWrappedNodeAtPosition;
AbstractRule;
Actual behavior:
import { expressionNeedsParensWhenReplacingNode } from "@fimbul/mimir/src/utils";
import { getWrappedNodeAtPosition } from '../../../node_modules/tsutils';
import { AbstractRule } from '../../../node_modules/@fimbul/ymir/src';
expressionNeedsParensWhenReplacingNode;
getWrappedNodeAtPosition;
AbstractRule;
Playground Link:
Related Issues:
#25029
TypeScript Version: 3.0.0-dev.20180628
Search Terms:
import path,relativeCode
yarnnode_modules/@fimbul/<name>for eachpackages/<name>packages/mimir/src/test.tsand paste the following content:Expected behavior:
Actual behavior:
Playground Link:
Related Issues:
#25029