diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 69735803e2b..60d19b4a5d3 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -956,14 +956,8 @@ module ts { getDeclarationDiagnostics(sourceFile: SourceFile): Diagnostic[]; // Gets a type checker that can be used to semantically analyze source fils in the program. - // The 'produceDiagnostics' flag determines if the checker will produce diagnostics while - // analyzing the code. It can be set to 'false' to make many type checking operaitons - // faster. With this flag set, the checker can avoid codepaths only necessary to produce - // diagnostics, but not necessary to answer semantic questions about the code. - // - // If 'produceDiagnostics' is false, then any calls to get diagnostics from the TypeChecker - // will throw an invalid operation exception. getTypeChecker(): TypeChecker; + getCommonSourceDirectory(): string; // For testing purposes only. Should not be used by any other consumers (including the