DidOpenTextDocumentParams does not extend TextDocumentIdentifier

See 032c12a09c/server/src/protocol.ts (L411-L416).

The `uri` field is present in the `TextDocumentItem` in any case.
This commit is contained in:
Markus Westerlind 2016-07-09 12:45:58 +02:00 committed by GitHub
parent 0266d9107b
commit aa25218aa2

View file

@ -765,7 +765,7 @@ _Notification_:
* method: 'textDocument/didOpen'
* params: `DidOpenTextDocumentParams` defined as follows:
```typescript
interface DidOpenTextDocumentParams extends TextDocumentIdentifier {
interface DidOpenTextDocumentParams {
/**
* The document that was opened.
*/