Skip to content

Commit e7dcc7d

Browse files
author
Orta
authored
Merge pull request #233 from reergymerej/master
Change type in request example
2 parents d6f9685 + 84aaef8 commit e7dcc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)