Also route stdlib files through TS Server virtual file system (#172857)

This workaround doesn't seem to be needed any more
This commit is contained in:
Matt Bierner
2023-01-30 14:14:21 -08:00
committed by GitHub
parent 99d9949a7c
commit e0ea3d9b11

View File

@@ -171,7 +171,7 @@ function createServerHost(extensionUri: URI, logger: ts.server.Logger, apiClient
readFile(path) {
logVerbose('fs.readFile', { path });
if (!fs || path.startsWith('/lib.')) {
if (!fs) {
const webPath = getWebPath(path);
if (webPath) {
const request = new XMLHttpRequest();