Disable third-party library analysis for now.

This commit is contained in:
Eric Traut 2019-11-16 17:09:28 -08:00
parent c38a59cf09
commit 6b4bc5e8bf

View File

@ -35,7 +35,10 @@ import { createTypeEvaluator, TypeEvaluator } from './typeEvaluator';
import { TypeStubWriter } from './typeStubWriter';
const _maxImportDepth = 256;
const _allowAllThirdPartyImports = true;
// We may enable this through a switch in future versions. For now,
// disable analysis of third-party library implementations.
const _allowAllThirdPartyImports = false;
export interface SourceFileInfo {
sourceFile: SourceFile;