@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) • 668 B
TypeScript
import { LiquidHtmlNode } from '@shopify/theme-check-common';
import { Hover, HoverParams } from 'vscode-languageserver';
import { DocumentManager } from '../../documents';
import { GetTranslationsForURI } from '../../translations';
import { BaseHoverProvider } from '../BaseHoverProvider';
export declare class TranslationHoverProvider implements BaseHoverProvider {
getTranslationsForUri: GetTranslationsForURI;
documentManager: DocumentManager;
constructor(getTranslationsForUri: GetTranslationsForURI, documentManager: DocumentManager);
hover(currentNode: LiquidHtmlNode, ancestors: LiquidHtmlNode[], params: HoverParams): Promise<Hover | null>;
}