Skip to content

Commit efa5353

Browse files
committed
Fix new linter warning.
1 parent ad64877 commit efa5353

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

src/server/protocol.d.ts

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
1-
/**
2-
* Declaration module describing the TypeScript Server protocol
1+
/**
2+
* Declaration module describing the TypeScript Server protocol
33
*/
44
declare namespace ts.server.protocol {
5-
/**
6-
* A TypeScript Server message
5+
/**
6+
* A TypeScript Server message
77
*/
88
export interface Message {
9-
/**
10-
* Sequence number of the message
9+
/**
10+
* Sequence number of the message
1111
*/
1212
seq: number;
1313

1414
/**
15-
* One of "request", "response", or "event"
15+
* One of "request", "response", or "event"
1616
*/
1717
type: string;
1818
}
1919

20-
/**
21-
* Client-initiated request message
20+
/**
21+
* Client-initiated request message
2222
*/
2323
export interface Request extends Message {
2424
/**
25-
* The command to execute
25+
* The command to execute
2626
*/
2727
command: string;
2828

29-
/**
30-
* Object containing arguments for the command
29+
/**
30+
* Object containing arguments for the command
3131
*/
3232
arguments?: any;
3333
}
3434

3535
/**
36-
* Request to reload the project structure for all the opened files
36+
* Request to reload the project structure for all the opened files
3737
*/
3838
export interface ReloadProjectsRequest extends Message {
3939
}
4040

41-
/**
42-
* Server-initiated event message
41+
/**
42+
* Server-initiated event message
4343
*/
4444
export interface Event extends Message {
45-
/**
46-
* Name of event
45+
/**
46+
* Name of event
4747
*/
4848
event: string;
4949

50-
/**
51-
* Event-specific information
50+
/**
51+
* Event-specific information
5252
*/
5353
body?: any;
5454
}
@@ -62,18 +62,18 @@ declare namespace ts.server.protocol {
6262
*/
6363
request_seq: number;
6464

65-
/**
66-
* Outcome of the request.
65+
/**
66+
* Outcome of the request.
6767
*/
6868
success: boolean;
6969

70-
/**
70+
/**
7171
* The command requested.
7272
*/
7373
command: string;
7474

75-
/**
76-
* Contains error message if success === false.
75+
/**
76+
* Contains error message if success === false.
7777
*/
7878
message?: string;
7979

@@ -83,7 +83,7 @@ declare namespace ts.server.protocol {
8383
body?: any;
8484
}
8585

86-
/**
86+
/**
8787
* Arguments for FileRequest messages.
8888
*/
8989
export interface FileRequestArgs {
@@ -93,7 +93,7 @@ declare namespace ts.server.protocol {
9393
file: string;
9494
}
9595

96-
/**
96+
/**
9797
* Arguments for ProjectInfoRequest request.
9898
*/
9999
export interface ProjectInfoRequestArgs extends FileRequestArgs {
@@ -110,7 +110,7 @@ declare namespace ts.server.protocol {
110110
arguments: ProjectInfoRequestArgs;
111111
}
112112

113-
/**
113+
/**
114114
* Response message body for "projectInfo" request
115115
*/
116116
export interface ProjectInfo {
@@ -125,7 +125,7 @@ declare namespace ts.server.protocol {
125125
fileNames?: string[];
126126
}
127127

128-
/**
128+
/**
129129
* Response message for "projectInfo" request
130130
*/
131131
export interface ProjectInfoResponse extends Response {
@@ -144,12 +144,12 @@ declare namespace ts.server.protocol {
144144
* (file, line, character offset), where line and character offset are 1-based.
145145
*/
146146
export interface FileLocationRequestArgs extends FileRequestArgs {
147-
/**
147+
/**
148148
* The line number for the request (1-based).
149149
*/
150150
line: number;
151151

152-
/**
152+
/**
153153
* The character offset (on the line) for the request (1-based).
154154
*/
155155
offset: number;
@@ -216,7 +216,7 @@ declare namespace ts.server.protocol {
216216
* Object found in response messages defining a span of text in a specific source file.
217217
*/
218218
export interface FileSpan extends TextSpan {
219-
/**
219+
/**
220220
* File containing text span.
221221
*/
222222
file: string;
@@ -300,14 +300,14 @@ declare namespace ts.server.protocol {
300300
*/
301301
lineText: string;
302302

303-
/**
303+
/**
304304
* True if reference is a write location, false otherwise.
305305
*/
306306
isWriteAccess: boolean;
307307
}
308308

309309
/**
310-
* The body of a "references" response message.
310+
* The body of a "references" response message.
311311
*/
312312
export interface ReferencesResponseBody {
313313
/**
@@ -325,7 +325,7 @@ declare namespace ts.server.protocol {
325325
*/
326326
symbolStartOffset: number;
327327

328-
/**
328+
/**
329329
* The full display name of the symbol.
330330
*/
331331
symbolDisplayString: string;
@@ -355,7 +355,7 @@ declare namespace ts.server.protocol {
355355
}
356356

357357
/**
358-
* Information about the item to be renamed.
358+
* Information about the item to be renamed.
359359
*/
360360
export interface RenameInfo {
361361
/**
@@ -373,7 +373,7 @@ declare namespace ts.server.protocol {
373373
*/
374374
displayName: string;
375375

376-
/**
376+
/**
377377
* Full display name of item to be renamed.
378378
*/
379379
fullDisplayName: string;
@@ -383,7 +383,7 @@ declare namespace ts.server.protocol {
383383
*/
384384
kind: string;
385385

386-
/**
386+
/**
387387
* Optional modifiers for the kind (such as 'public').
388388
*/
389389
kindModifiers: string;
@@ -469,15 +469,15 @@ declare namespace ts.server.protocol {
469469
placeOpenBraceOnNewLineForControlBlocks?: boolean;
470470

471471
/** Index operator */
472-
[key: string] : string | number | boolean;
472+
[key: string]: string | number | boolean;
473473
}
474474

475475
/**
476476
* Information found in a configure request.
477477
*/
478478
export interface ConfigureRequestArguments {
479479

480-
/**
480+
/**
481481
* Information about the host, for example 'Emacs 24.4' or
482482
* 'Sublime Text version 3075'
483483
*/
@@ -495,7 +495,7 @@ declare namespace ts.server.protocol {
495495
}
496496

497497
/**
498-
* Configure request; value of command field is "configure". Specifies
498+
* Configure request; value of command field is "configure". Specifies
499499
* host information, such as host type, tab size, and indent size.
500500
*/
501501
export interface ConfigureRequest extends Request {
@@ -514,8 +514,8 @@ declare namespace ts.server.protocol {
514514
*/
515515
export interface OpenRequestArgs extends FileRequestArgs {
516516
/**
517-
* Used when a version of the file content is known to be more up to date than the one on disk.
518-
* Then the known content will be used upon opening instead of the disk copy
517+
* Used when a version of the file content is known to be more up to date than the one on disk.
518+
* Then the known content will be used upon opening instead of the disk copy
519519
*/
520520
fileContent?: string;
521521
}
@@ -751,7 +751,7 @@ declare namespace ts.server.protocol {
751751
* Optional modifiers for the kind (such as 'public').
752752
*/
753753
kindModifiers: string;
754-
/**
754+
/**
755755
* A string that is used for comparing completion items so that they can be ordered. This
756756
* is often the same as the name but may be different in certain circumstances.
757757
*/
@@ -794,7 +794,7 @@ declare namespace ts.server.protocol {
794794
}
795795

796796
/**
797-
* Signature help information for a single parameter
797+
* Signature help information for a single parameter
798798
*/
799799
export interface SignatureHelpParameter {
800800

@@ -814,18 +814,18 @@ declare namespace ts.server.protocol {
814814
displayParts: SymbolDisplayPart[];
815815

816816
/**
817-
* Whether the parameter is optional or not.
817+
* Whether the parameter is optional or not.
818818
*/
819819
isOptional: boolean;
820820
}
821821

822822
/**
823-
* Represents a single signature to show in signature help.
823+
* Represents a single signature to show in signature help.
824824
*/
825825
export interface SignatureHelpItem {
826826

827827
/**
828-
* Whether the signature accepts a variable number of arguments.
828+
* Whether the signature accepts a variable number of arguments.
829829
*/
830830
isVariadic: boolean;
831831

@@ -845,7 +845,7 @@ declare namespace ts.server.protocol {
845845
separatorDisplayParts: SymbolDisplayPart[];
846846

847847
/**
848-
* The signature helps items for the parameters.
848+
* The signature helps items for the parameters.
849849
*/
850850
parameters: SignatureHelpParameter[];
851851

@@ -861,17 +861,17 @@ declare namespace ts.server.protocol {
861861
export interface SignatureHelpItems {
862862

863863
/**
864-
* The signature help items.
864+
* The signature help items.
865865
*/
866866
items: SignatureHelpItem[];
867867

868868
/**
869-
* The span for which signature help should appear on a signature
869+
* The span for which signature help should appear on a signature
870870
*/
871871
applicableSpan: TextSpan;
872872

873873
/**
874-
* The item selected in the set of available help items.
874+
* The item selected in the set of available help items.
875875
*/
876876
selectedItemIndex: number;
877877

@@ -895,7 +895,7 @@ declare namespace ts.server.protocol {
895895

896896
/**
897897
* Signature help request; value of command field is "signatureHelp".
898-
* Given a file location (file, line, col), return the signature
898+
* Given a file location (file, line, col), return the signature
899899
* help.
900900
*/
901901
export interface SignatureHelpRequest extends FileLocationRequest {
@@ -926,8 +926,8 @@ declare namespace ts.server.protocol {
926926
}
927927

928928
/**
929-
* GeterrForProjectRequest request; value of command field is
930-
* "geterrForProject". It works similarly with 'Geterr', only
929+
* GeterrForProjectRequest request; value of command field is
930+
* "geterrForProject". It works similarly with 'Geterr', only
931931
* it request for every file in this project.
932932
*/
933933
export interface GeterrForProjectRequest extends Request {
@@ -997,7 +997,7 @@ declare namespace ts.server.protocol {
997997
diagnostics: Diagnostic[];
998998
}
999999

1000-
/**
1000+
/**
10011001
* Event message for "syntaxDiag" and "semanticDiag" event types.
10021002
* These events provide syntactic and semantic errors for a file.
10031003
*/
@@ -1033,7 +1033,7 @@ declare namespace ts.server.protocol {
10331033
export interface ReloadResponse extends Response {
10341034
}
10351035

1036-
/**
1036+
/**
10371037
* Arguments for saveto request.
10381038
*/
10391039
export interface SavetoRequestArgs extends FileRequestArgs {
@@ -1109,7 +1109,7 @@ declare namespace ts.server.protocol {
11091109
*/
11101110
kindModifiers?: string;
11111111

1112-
/**
1112+
/**
11131113
* The file in which the symbol is found.
11141114
*/
11151115
file: string;
@@ -1156,7 +1156,7 @@ declare namespace ts.server.protocol {
11561156

11571157
/**
11581158
* Change request message; value of command field is "change".
1159-
* Update the server's view of the file named by argument 'file'.
1159+
* Update the server's view of the file named by argument 'file'.
11601160
* Server does not currently send a response to a change request.
11611161
*/
11621162
export interface ChangeRequest extends FileLocationRequest {

0 commit comments

Comments
 (0)