Expose getSourceFile on the LanguageService interface

This commit is contained in:
Mohamed Hegazy 2014-10-27 17:36:01 -07:00
parent 2e7d292128
commit ffc34b8494

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
};
}