While fighting with eclipse-wildwebdeveloper/wildwebdeveloper#1520 and analyzing different behaviors in Typescript LS between VScode and Eclipse, I realized that typescript is not able to correctly find projectRootPath.
It's because rootPath/rootUri/workspaceFolders always ends with "/" (at least on mac). So when Typescript LS search for projectRoot by checking (in loop) if documentPath starts with rootPath + DIR_SEPARATOR is not able to find it
While fighting with eclipse-wildwebdeveloper/wildwebdeveloper#1520 and analyzing different behaviors in Typescript LS between VScode and Eclipse, I realized that typescript is not able to correctly find projectRootPath.
It's because rootPath/rootUri/workspaceFolders always ends with "/" (at least on mac). So when Typescript LS search for projectRoot by checking (in loop) if documentPath starts with
rootPath + DIR_SEPARATORis not able to find it