UNPKG

@microsoft/compose-language-service

Version:
11 lines (10 loc) 805 B
/*!-------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { CancellationToken, DocumentFormattingParams, TextEdit } from 'vscode-languageserver'; import { ExtendedParams } from '../ExtendedParams'; import { ProviderBase } from './ProviderBase'; export declare class DocumentFormattingProvider extends ProviderBase<DocumentFormattingParams & ExtendedParams, TextEdit[] | undefined, never, never> { on(params: DocumentFormattingParams & ExtendedParams, token: CancellationToken): TextEdit[] | undefined; }