mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Use resolution options of project reference if the file is from the project reference
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
import {A} from './a';
|
||||
import {A} from '@ref/a';
|
||||
export const b = new A();
|
||||
|
||||
@@ -1 +1,11 @@
|
||||
{"compilerOptions": {"composite": true}, "files": ["b.ts"], "references": [{"path": "tsconfig.a.json"}]}
|
||||
{
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@ref/*": [ "./*" ]
|
||||
}
|
||||
},
|
||||
"files": [ "b.ts" ],
|
||||
"references": [ { "path": "tsconfig.a.json" } ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user