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>
This commit is contained in:
bors[bot] 2021-11-12 19:32:04 +00:00 committed by GitHub
commit e46f1fd5e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
}