Merge pull request #979 from Microsoft/getSourceFile

Expose getSourceFile on the LanguageService interface
This commit is contained in:
Mohamed Hegazy 2014-10-29 14:06:37 -07:00
commit 7d16483156

View File

@ -874,7 +874,7 @@ module ts {
getEmitOutput(fileName: string): EmitOutput;
//getSyntaxTree(fileName: string): TypeScript.SyntaxTree;
getSourceFile(filename: string): SourceFile;
dispose(): void;
}
@ -5247,6 +5247,7 @@ module ts {
getFormattingEditsAfterKeystroke: getFormattingEditsAfterKeystroke,
getEmitOutput: getEmitOutput,
getSignatureAtPosition: getSignatureAtPosition,
getSourceFile: getSourceFile
};
}