Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Solution builder to build project references #935

Merged
merged 13 commits into from
Sep 10, 2019
Merged
Next Next commit
Fix build error with typescript@next for now
  • Loading branch information
sheetalkamat committed May 14, 2019
commit dae3c19cc8ec56be891dbbe9967856c6953ee881
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"rimraf": "^2.6.2",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.1.1",
"typescript": "^3.5.0-dev.20190514",
"webpack": "^4.5.0",
"webpack-cli": "^3.1.1"
},
Expand Down
4 changes: 1 addition & 3 deletions src/servicesHost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,7 @@ function addCache(servicesHost: typescript.ModuleResolutionHost) {
const cache = createCache<ReturnType<typeof originalFunction>>(
originalFunction
);
servicesHost[
functionToCache
] = cache.getCached as typescript.ModuleResolutionHost[CacheableFunction];
servicesHost[functionToCache] = cache.getCached as any;
sheetalkamat marked this conversation as resolved.
Show resolved Hide resolved
clearCacheFunctions.push(cache.clear);
}
});
Expand Down