From @tommedema on August 27, 2018 3:12
- VSCode Version: 1.26.1
- OS Version: OSX High Sierra
Steps to Reproduce:
git clone git@github.com:tommedema/serverless-mono-example.git
cd serverless-mono-example && yarn install && code .
- if you change a typing in package
random, it is not picked up by intellisense in typescript packages that reference to it in the same workspace (e.g. sls-random); you'd have to compile first
for example, change fetchRandomNumber in random to return a Promise<string>, and sls-random still expects a Promise<number>
Note that sls-random is connected with random through Typescript 3 references:
{
"extends": "../../tsconfig.settings.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
},
"references": [
{ "path": "../random" }
]
}
And therefore intellisense should pickup the referenced typings dynamically.
Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: microsoft/vscode#57242
From @tommedema on August 27, 2018 3:12
Steps to Reproduce:
git clone git@github.com:tommedema/serverless-mono-example.gitcd serverless-mono-example && yarn install && code .random, it is not picked up by intellisense in typescript packages that reference to it in the same workspace (e.g.sls-random); you'd have to compile firstfor example, change
fetchRandomNumberinrandomto return aPromise<string>, andsls-randomstill expects aPromise<number>Note that
sls-randomis connected withrandomthrough Typescript 3 references:And therefore intellisense should pickup the referenced typings dynamically.
Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: microsoft/vscode#57242