Add test for goto-definition with project references (#24867)

* Add test for goto-definition with project references

* Assert that the declaration file is what we emit
This commit is contained in:
Andy
2018-06-27 15:56:04 -07:00
committed by GitHub
parent 4d43a3a3c0
commit 16f045b7f5
3 changed files with 134 additions and 31 deletions

View File

@@ -2439,7 +2439,7 @@ namespace ts.server.protocol {
/**
* An item found in a navto response.
*/
export interface NavtoItem {
export interface NavtoItem extends FileSpan {
/**
* The symbol's name.
*/
@@ -2465,21 +2465,6 @@ namespace ts.server.protocol {
*/
kindModifiers?: string;
/**
* The file in which the symbol is found.
*/
file: string;
/**
* The location within file at which the symbol is found.
*/
start: Location;
/**
* One past the last character of the symbol.
*/
end: Location;
/**
* Name of symbol's container symbol (if any); for example,
* the class name if symbol is a class member.