mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
refactor(spelling): correct misspelled response
This commit is contained in:
parent
3c123b61d7
commit
2f48ff37fd
@ -290,7 +290,7 @@ namespace ts.server {
|
||||
const args: protocol.FileLocationRequestArgs = this.createFileLocationRequestArgs(fileName, position);
|
||||
|
||||
const request = this.processRequest<protocol.DefinitionRequest>(CommandNames.DefinitionAndBoundSpan, args);
|
||||
const response = this.processResponse<protocol.DefinitionInfoAndBoundSpanReponse>(request);
|
||||
const response = this.processResponse<protocol.DefinitionInfoAndBoundSpanResponse>(request);
|
||||
const body = Debug.assertDefined(response.body); // TODO: GH#18217
|
||||
|
||||
return {
|
||||
|
||||
@ -918,10 +918,13 @@ namespace ts.server.protocol {
|
||||
body?: FileSpanWithContext[];
|
||||
}
|
||||
|
||||
export interface DefinitionInfoAndBoundSpanReponse extends Response {
|
||||
export interface DefinitionInfoAndBoundSpanResponse extends Response {
|
||||
body?: DefinitionInfoAndBoundSpan;
|
||||
}
|
||||
|
||||
/** @deprecated Use `DefinitionInfoAndBoundSpanResponse` instead. */
|
||||
export type DefinitionInfoAndBoundSpanReponse = DefinitionInfoAndBoundSpanResponse;
|
||||
|
||||
/**
|
||||
* Definition response message. Gives text range for definition.
|
||||
*/
|
||||
|
||||
@ -6626,9 +6626,11 @@ declare namespace ts.server.protocol {
|
||||
interface DefinitionResponse extends Response {
|
||||
body?: FileSpanWithContext[];
|
||||
}
|
||||
interface DefinitionInfoAndBoundSpanReponse extends Response {
|
||||
interface DefinitionInfoAndBoundSpanResponse extends Response {
|
||||
body?: DefinitionInfoAndBoundSpan;
|
||||
}
|
||||
/** @deprecated Use `DefinitionInfoAndBoundSpanResponse` instead. */
|
||||
type DefinitionInfoAndBoundSpanReponse = DefinitionInfoAndBoundSpanResponse;
|
||||
/**
|
||||
* Definition response message. Gives text range for definition.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user