mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Fixes #175: Mark rootPath as optional
This commit is contained in:
parent
1bcd448c87
commit
8d83f270cf
1 changed files with 3 additions and 2 deletions
|
|
@ -593,11 +593,12 @@ interface InitializeParams {
|
|||
*
|
||||
* @deprecated in favour of rootUri.
|
||||
*/
|
||||
rootPath: string | null;
|
||||
rootPath?: string | null;
|
||||
|
||||
/**
|
||||
* The rootUri of the workspace. Is null if no
|
||||
* folder is open.
|
||||
* folder is open. If both `rootPath` and `rootUri` are set
|
||||
* `rootUri` wins.
|
||||
*/
|
||||
rootUri: DocumentUri | null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue