File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ namespace ts.server.protocol {
50
50
NavtoFull = "navto-full" ,
51
51
NavTree = "navtree" ,
52
52
NavTreeFull = "navtree-full" ,
53
+ /** @deprecated */
53
54
Occurrences = "occurrences" ,
54
55
DocumentHighlights = "documentHighlights" ,
55
56
/* @internal */
@@ -829,6 +830,7 @@ namespace ts.server.protocol {
829
830
}
830
831
831
832
/**
833
+ * @deprecated
832
834
* Get occurrences request; value of command field is
833
835
* "occurrences". Return response giving spans that are relevant
834
836
* in the file at a given line and column.
@@ -837,6 +839,7 @@ namespace ts.server.protocol {
837
839
command : CommandTypes . Occurrences ;
838
840
}
839
841
842
+ /** @deprecated */
840
843
export interface OccurrencesResponseItem extends FileSpan {
841
844
/**
842
845
* True if the occurrence is a write location, false otherwise.
@@ -849,6 +852,7 @@ namespace ts.server.protocol {
849
852
isInString ?: true ;
850
853
}
851
854
855
+ /** @deprecated */
852
856
export interface OccurrencesResponse extends Response {
853
857
body ?: OccurrencesResponseItem [ ] ;
854
858
}
Original file line number Diff line number Diff line change @@ -5058,6 +5058,7 @@ declare namespace ts.server.protocol {
5058
5058
Navto = "navto" ,
5059
5059
NavTree = "navtree" ,
5060
5060
NavTreeFull = "navtree-full" ,
5061
+ /** @deprecated */
5061
5062
Occurrences = "occurrences" ,
5062
5063
DocumentHighlights = "documentHighlights" ,
5063
5064
Open = "open" ,
@@ -5658,13 +5659,15 @@ declare namespace ts.server.protocol {
5658
5659
openingBrace : string ;
5659
5660
}
5660
5661
/**
5662
+ * @deprecated
5661
5663
* Get occurrences request; value of command field is
5662
5664
* "occurrences". Return response giving spans that are relevant
5663
5665
* in the file at a given line and column.
5664
5666
*/
5665
5667
interface OccurrencesRequest extends FileLocationRequest {
5666
5668
command : CommandTypes . Occurrences ;
5667
5669
}
5670
+ /** @deprecated */
5668
5671
interface OccurrencesResponseItem extends FileSpan {
5669
5672
/**
5670
5673
* True if the occurrence is a write location, false otherwise.
@@ -5675,6 +5678,7 @@ declare namespace ts.server.protocol {
5675
5678
*/
5676
5679
isInString ?: true ;
5677
5680
}
5681
+ /** @deprecated */
5678
5682
interface OccurrencesResponse extends Response {
5679
5683
body ?: OccurrencesResponseItem [ ] ;
5680
5684
}
You can’t perform that action at this time.
0 commit comments