Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Aug 27, 2021
1 parent cfcd917 commit eba6a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/common/proposed.diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export interface DocumentDiagnosticReportPartialResult {
}
}
```
* error: code and message set in case an exception happens during the diagnostic request. A server is also allowed to return and error with code `ServerCancelled` indicating that the server can't compute the result right now. A server can return a `DiagnosticServerCancellationData` data to indicate whether the client should re-trigger the request. If no data is provided it defaults to `{ retriggerRequest: true }`:
* error: code and message set in case an exception happens during the diagnostic request. A server is also allowed to return an error with code `ServerCancelled` indicating that the server can't compute the result right now. A server can return a `DiagnosticServerCancellationData` data to indicate whether the client should re-trigger the request. If no data is provided it defaults to `{ retriggerRequest: true }`:

```typescript
/**
Expand Down

0 comments on commit eba6a73

Please sign in to comment.