UNPKG

@shopify/theme-language-server-common

Version:

<h1 align="center" style="position: relative;" > <br> <img src="https://github.com/Shopify/theme-check-vscode/blob/main/images/shopify_glyph.png?raw=true" alt="logo" width="141" height="160"> <br> Theme Language Server </h1>

12 lines (11 loc) 586 B
import { CompletionItem } from 'vscode-languageserver'; import { DocumentManager } from '../../documents'; import { GetTranslationsForURI } from '../../translations'; import { LiquidCompletionParams } from '../params'; import { Provider } from './common'; export declare class TranslationCompletionProvider implements Provider { private readonly documentManager; private readonly getTranslationsForURI; constructor(documentManager: DocumentManager, getTranslationsForURI: GetTranslationsForURI); completions(params: LiquidCompletionParams): Promise<CompletionItem[]>; }