Skip to content

Commit 84aaef8

Browse files
committed
Change type in request example
1 parent 2ada8bd commit 84aaef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Standalone-Server-(tsserver).md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ls node_modules\typescript\lib\tsserver.js
2020
Requests are JSON following the protocol definition. Here is an example request to open a file `c:/DefinitelyTyped/gregorian-calendar/index.d.ts`:
2121

2222
```js
23-
{"seq":1,"type":"quickinfo","command":"open","arguments":{"file":"c:/DefinitelyTyped/gregorian-calendar/index.d.ts"}}
23+
{"seq":1,"type":"request","command":"open","arguments":{"file":"c:/DefinitelyTyped/gregorian-calendar/index.d.ts"}}
2424
```
2525

2626
Responses are augmented JSON format. the Message stars with a header with the content length followed by a line separator (`\r\n`) followed by the response body as a JSON string:

0 commit comments

Comments
 (0)