Remove CodeLensResolveData mention from lsp-extensions.md

This commit is contained in:
ivan770 2021-02-13 19:36:29 +02:00
parent 4c2b201b7d
commit 13e9d9809a
No known key found for this signature in database
GPG key ID: D8C4BD5AE4D9CC4D

View file

@ -573,14 +573,3 @@ This request is sent from client to server to open the current project's Cargo.t
```
`experimental/openCargoToml` returns a single `Link` to the start of the `[package]` keyword.
## CodeLens resolve request
This request is sent from client to server to resolve previously provided CodeLens.
As an alternative to `any` type in `data` field of `CodeLens`, you may use `CodeLensResolveData`:
```typescript
interface CodeLensResolveData {
data: (DefinitionParams | TextDocumentPositionParams),
}
```