mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 06:41:59 -06:00
PR feedback.
This commit is contained in:
parent
4802b4b2d6
commit
a5bd9196f2
@ -2443,6 +2443,11 @@ module ts {
|
||||
};
|
||||
}
|
||||
|
||||
// If symbolName is undefined, all symbols at the specified are returned. If symbolName
|
||||
// is not undefined, then the first symbol with that name at the specified position
|
||||
// will be returned. Calling without symbolName is useful when you want the entire
|
||||
// list of symbols (like for getCompletionsAtPosition). Calling with a symbolName is
|
||||
// useful when you want information about a single symbol (like for getCompletionEntryDetails).
|
||||
function getCompletionData(fileName: string, position: number, symbolName?: string) {
|
||||
let result = getCompletionDataWorker(fileName, position, symbolName);
|
||||
if (!result) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user