UNPKG

@microsoft/compose-language-service

Version:
23 lines 1.55 kB
/*!-------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { NotificationType, RequestType } from 'vscode-languageserver-protocol'; // TODO: can we get these from @types/vscode instead? It seems there's some type conflict between `Thenable<T>` from @types/vscode and vscode-jsonrpc preventing @types/vscode from working nicely export const LF = 1; export const CRLF = 2; // Use the same syntax as the LSP // eslint-disable-next-line @typescript-eslint/no-namespace export var DocumentSettingsRequest; (function (DocumentSettingsRequest) { DocumentSettingsRequest.method = '$/textDocument/documentSettings'; DocumentSettingsRequest.type = new RequestType(DocumentSettingsRequest.method); })(DocumentSettingsRequest || (DocumentSettingsRequest = {})); // Use the same syntax as the LSP // eslint-disable-next-line @typescript-eslint/no-namespace export var DocumentSettingsNotification; (function (DocumentSettingsNotification) { DocumentSettingsNotification.method = '$/textDocument/documentSettings/didChange'; DocumentSettingsNotification.type = new NotificationType(DocumentSettingsNotification.method); })(DocumentSettingsNotification || (DocumentSettingsNotification = {})); //# sourceMappingURL=DocumentSettingsClientCapabilities.js.map