I'm trying to use yarn pnp, so my globally installed typescript has no idea of how the packages are installed.
Yarn offers what they call SDKs (https://yarnpkg.com/getting-started/editor-sdks) to work around this issue. It creates a new executable you can call instead of the one globally installed (other positive effect: the version is guaranteed to be exactly the same as the one you use in the project, and not some old one you installed globally years ago).
The path of the server is .yarn/sdks/typescript/bin/tsserver.
For now I add my absolute path before, this works OK while I work only on that project. How to set it, so it's relative to the project ?
I'm trying to use yarn pnp, so my globally installed typescript has no idea of how the packages are installed.
Yarn offers what they call SDKs (https://yarnpkg.com/getting-started/editor-sdks) to work around this issue. It creates a new executable you can call instead of the one globally installed (other positive effect: the version is guaranteed to be exactly the same as the one you use in the project, and not some old one you installed globally years ago).
The path of the server is
.yarn/sdks/typescript/bin/tsserver
.For now I add my absolute path before, this works OK while I work only on that project. How to set it, so it's relative to the project ?