@@ -668,13 +668,13 @@ declare namespace ts {
668668 command: CommandTypes.Definition;
669669 }
670670 export interface DefinitionAndBoundSpanRequest extends FileLocationRequest {
671- readonly command: CommandTypes.DefinitionAndBoundSpan;
671+ command: CommandTypes.DefinitionAndBoundSpan;
672672 }
673673 export interface FindSourceDefinitionRequest extends FileLocationRequest {
674- readonly command: CommandTypes.FindSourceDefinition;
674+ command: CommandTypes.FindSourceDefinition;
675675 }
676676 export interface DefinitionAndBoundSpanResponse extends Response {
677- readonly body: DefinitionInfoAndBoundSpan;
677+ body: DefinitionInfoAndBoundSpan;
678678 }
679679 /**
680680 * Go to type request; value of command field is
@@ -786,23 +786,23 @@ declare namespace ts {
786786 openingBrace: string;
787787 }
788788 export interface JsxClosingTagRequest extends FileLocationRequest {
789- readonly command: CommandTypes.JsxClosingTag;
790- readonly arguments: JsxClosingTagRequestArgs;
789+ command: CommandTypes.JsxClosingTag;
790+ arguments: JsxClosingTagRequestArgs;
791791 }
792792 export interface JsxClosingTagRequestArgs extends FileLocationRequestArgs {
793793 }
794794 export interface JsxClosingTagResponse extends Response {
795- readonly body: TextInsertion;
795+ body: TextInsertion;
796796 }
797797 export interface LinkedEditingRangeRequest extends FileLocationRequest {
798- readonly command: CommandTypes.LinkedEditingRange;
798+ command: CommandTypes.LinkedEditingRange;
799799 }
800800 export interface LinkedEditingRangesBody {
801801 ranges: TextSpan[];
802802 wordPattern?: string;
803803 }
804804 export interface LinkedEditingRangeResponse extends Response {
805- readonly body: LinkedEditingRangesBody;
805+ body: LinkedEditingRangesBody;
806806 }
807807 /**
808808 * Get document highlights request; value of command field is
@@ -2017,17 +2017,17 @@ declare namespace ts {
20172017 }
20182018 export type CreateFileWatcherEventName = "createFileWatcher";
20192019 export interface CreateFileWatcherEvent extends Event {
2020- readonly event: CreateFileWatcherEventName;
2021- readonly body: CreateFileWatcherEventBody;
2020+ event: CreateFileWatcherEventName;
2021+ body: CreateFileWatcherEventBody;
20222022 }
20232023 export interface CreateFileWatcherEventBody {
20242024 readonly id: number;
20252025 readonly path: string;
20262026 }
20272027 export type CreateDirectoryWatcherEventName = "createDirectoryWatcher";
20282028 export interface CreateDirectoryWatcherEvent extends Event {
2029- readonly event: CreateDirectoryWatcherEventName;
2030- readonly body: CreateDirectoryWatcherEventBody;
2029+ event: CreateDirectoryWatcherEventName;
2030+ body: CreateDirectoryWatcherEventBody;
20312031 }
20322032 export interface CreateDirectoryWatcherEventBody {
20332033 readonly id: number;
@@ -2037,8 +2037,8 @@ declare namespace ts {
20372037 }
20382038 export type CloseFileWatcherEventName = "closeFileWatcher";
20392039 export interface CloseFileWatcherEvent extends Event {
2040- readonly event: CloseFileWatcherEventName;
2041- readonly body: CloseFileWatcherEventBody;
2040+ event: CloseFileWatcherEventName;
2041+ body: CloseFileWatcherEventBody;
20422042 }
20432043 export interface CloseFileWatcherEventBody {
20442044 readonly id: number;
@@ -2333,19 +2333,19 @@ declare namespace ts {
23332333 command: CommandTypes.PrepareCallHierarchy;
23342334 }
23352335 export interface PrepareCallHierarchyResponse extends Response {
2336- readonly body: CallHierarchyItem | CallHierarchyItem[];
2336+ body: CallHierarchyItem | CallHierarchyItem[];
23372337 }
23382338 export interface ProvideCallHierarchyIncomingCallsRequest extends FileLocationRequest {
23392339 command: CommandTypes.ProvideCallHierarchyIncomingCalls;
23402340 }
23412341 export interface ProvideCallHierarchyIncomingCallsResponse extends Response {
2342- readonly body: CallHierarchyIncomingCall[];
2342+ body: CallHierarchyIncomingCall[];
23432343 }
23442344 export interface ProvideCallHierarchyOutgoingCallsRequest extends FileLocationRequest {
23452345 command: CommandTypes.ProvideCallHierarchyOutgoingCalls;
23462346 }
23472347 export interface ProvideCallHierarchyOutgoingCallsResponse extends Response {
2348- readonly body: CallHierarchyOutgoingCall[];
2348+ body: CallHierarchyOutgoingCall[];
23492349 }
23502350 export enum IndentStyle {
23512351 None = "None",
@@ -2728,8 +2728,8 @@ declare namespace ts {
27282728 private generatedFilesMap;
27292729 protected languageService: LanguageService;
27302730 languageServiceEnabled: boolean;
2731- readonly trace?: (s: string) => void;
2732- readonly realpath?: (path: string) => string;
2731+ trace?(s: string): void;
2732+ realpath?(path: string): string;
27332733 private builderState;
27342734 /**
27352735 * Set of files names that were updated since the last call to getChangesSinceVersion.
@@ -2749,7 +2749,7 @@ declare namespace ts {
27492749 isNonTsProject(): boolean;
27502750 isJsOnlyProject(): boolean;
27512751 static resolveModule(moduleName: string, initialDir: string, host: ServerHost, log: (message: string) => void): {} | undefined;
2752- readonly jsDocParsingMode: JSDocParsingMode | undefined;
2752+ jsDocParsingMode: JSDocParsingMode | undefined;
27532753 isKnownTypesPackageName(name: string): boolean;
27542754 installPackage(options: InstallPackageOptions): Promise<ApplyCodeActionCommandResult>;
27552755 private get typingsCache();
0 commit comments