UNPKG

@microsoft/compose-language-service

Version:
11 lines (10 loc) 829 B
/*!-------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { type CancellationToken, type DocumentFormattingParams, TextEdit } from 'vscode-languageserver'; import type { 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): Promise<TextEdit[] | undefined>; }