We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f14e24 commit c6bab0fCopy full SHA for c6bab0f
src/services/jsTyping.ts
@@ -161,7 +161,7 @@ namespace ts.JsTyping {
161
// Add the cached typing locations for inferred typings that are already installed
162
packageNameToTypingLocation.forEach((typing, name) => {
163
const registryEntry = typesRegistry.get(name);
164
- if (inferredTypings.has(name) && inferredTypings.get(name) === undefined && registryEntry !== undefined && isTypingUpToDate(typing, registryEntry!)) {
+ if (inferredTypings.has(name) && inferredTypings.get(name) === undefined && registryEntry !== undefined && isTypingUpToDate(typing, registryEntry)) {
165
inferredTypings.set(name, typing.typingLocation);
166
}
167
});
0 commit comments