about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-12 19:32:04 +0000
committerGitHub <noreply@github.com>2021-11-12 19:32:04 +0000
commite46f1fd5e09463e2d4cf1f54fdfc4d0fbf95418b (patch)
tree5204732b660b6fd94866f698cb1396642f432b7a
parentd83b76d83461d99ec4a4eecd75283853d1c892a5 (diff)
parent54b636f1e2c03caf5294a7ea3ed6b9903e569027 (diff)
downloadrust-e46f1fd5e09463e2d4cf1f54fdfc4d0fbf95418b.tar.gz
rust-e46f1fd5e09463e2d4cf1f54fdfc4d0fbf95418b.zip
Merge #10755
10755: Fix type names in typescript sample code r=lnicola a=Wilfred

`bool` is Rust, whereas `boolean` is the type name in TypeScript.

Co-authored-by: Wilfred Hughes <me@wilfred.me.uk>
-rw-r--r--docs/dev/lsp-extensions.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index 9076b93d35f..b925f146a72 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -272,7 +272,7 @@ interface SsrParams {
     /// The specific syntax is specified outside of the protocol.
     query: string,
     /// If true, only check the syntax of the query and don't compute the actual edit.
-    parseOnly: bool,
+    parseOnly: boolean,
     /// The current text document. This and `position` will be used to determine in what scope
     /// paths in `query` should be resolved.
     textDocument: TextDocumentIdentifier;
@@ -449,7 +449,7 @@ interface ServerStatusParams {
     health: "ok" | "warning" | "error",
     /// Is there any pending background work which might change the status?
     /// For example, are dependencies being downloaded?
-    quiescent: bool,
+    quiescent: boolean,
     /// Explanatory message to show on hover.
     message?: string,
 }