Clarify version number

This commit is contained in:
Dirk Baeumer 2018-09-04 14:27:22 +02:00
parent 24b229a97c
commit ea0685f6d3

View file

@ -566,7 +566,10 @@ interface VersionedTextDocumentIdentifier extends TextDocumentIdentifier {
* is sent from the server to the client and the file is not open in the editor
* (the server has not received an open notification before) the server can send
* `null` to indicate that the version is known and the content on disk is the
* truth (as speced with document content ownership)
* truth (as speced with document content ownership).
*
* The version number of a document will increase after each change, including
* undo/redo. The number doesn't need to be consecutive.
*/
version: number | null;
}