mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Merge pull request #979 from Microsoft/getSourceFile
Expose getSourceFile on the LanguageService interface
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user