Skip to content

Commit

Permalink
feat: remove GH#18217 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjigeng.666 committed Dec 20, 2020
1 parent eb292a8 commit 6c8e7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/codefixes/fixCannotFindModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ namespace ts.codefix {
function getTypesPackageNameToInstall(packageName: string, host: LanguageServiceHost, diagCode: number): string | undefined {
return diagCode === errorCodeCannotFindModule
? (JsTyping.nodeCoreModules.has(packageName) ? "@types/node" : undefined)
: (host.isKnownTypesPackageName?.(packageName) ? getTypesPackageName(packageName) : undefined); // TODO: GH#18217
: (host.isKnownTypesPackageName?.(packageName) ? getTypesPackageName(packageName) : undefined);
}
}

0 comments on commit 6c8e7b2

Please sign in to comment.