Update comment.

This commit is contained in:
Cyrus Najmabadi 2015-02-04 17:58:19 -08:00
parent 476c8249ac
commit d8a7e376f1

View File

@ -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