You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add 'data' property to completion entry for better coordination between completions and completion details (microsoft#42890)
* Add 'data' property to completion entry for better cooperation between completions and completion details
* Add doc comment
* Update API baselines
* Add server test
* Test session’s Full result
* Fix tests
* stableSort to fix server fourslash test
* Explicit verification of data parameter
constactualDetails=ts.Debug.checkDefined(this.getCompletionEntryDetails(actual.name,actual.source),`No completion details available for name '${actual.name}' and source '${actual.source}'`);
936
+
constactualDetails=ts.Debug.checkDefined(this.getCompletionEntryDetails(actual.name,actual.source,actual.data),`No completion details available for name '${actual.name}' and source '${actual.source}'`);
937
937
assert.equal(ts.displayPartsToString(actualDetails.displayParts),expected.text,"Expected 'text' property to match 'displayParts' string");
938
938
assert.equal(ts.displayPartsToString(actualDetails.documentation),expected.documentation||"","Expected 'documentation' property to match 'documentation' display parts string");
0 commit comments