diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 7829bfcfb78..71c79585f66 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -450,10 +450,6 @@ namespace ts { return commonSourceDirectory; } - function isSourceFileFromExternalLibrary(file: SourceFile): boolean { - return !!sourceFilesFoundSearchingNodeModules[file.path]; - } - function getClassifiableNames() { if (!classifiableNames) { // Initialize a checker so that all our files are bound.