From f3257d4b047a919edcbbd978397eec51e2d65374 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Mon, 20 Nov 2017 14:43:25 -0800 Subject: [PATCH] Always send a response to installTypings even if all types are cached --- src/server/typingsInstaller/typingsInstaller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/typingsInstaller/typingsInstaller.ts b/src/server/typingsInstaller/typingsInstaller.ts index a9b28ce57b0..c36661e95dd 100644 --- a/src/server/typingsInstaller/typingsInstaller.ts +++ b/src/server/typingsInstaller/typingsInstaller.ts @@ -300,8 +300,9 @@ namespace ts.server.typingsInstaller { const filteredTypings = this.filterTypings(typingsToInstall); if (filteredTypings.length === 0) { if (this.log.isEnabled()) { - this.log.writeLine(`All typings are known to be missing or invalid - no need to go any further`); + this.log.writeLine(`All typings are known to be missing or invalid - no need to install more typings`); } + this.sendResponse(this.createSetTypings(req, currentlyCachedTypings)); return; }