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>

15 lines (14 loc) 794 B
import { ThemeDocset } from '@shopify/theme-check-common'; import { Hover, HoverParams } from 'vscode-languageserver'; import { DocumentManager } from '../documents'; import { GetTranslationsForURI } from '../translations'; import { GetThemeSettingsSchemaForURI } from '../settings'; export declare class HoverProvider { readonly documentManager: DocumentManager; readonly themeDocset: ThemeDocset; readonly getTranslationsForURI: GetTranslationsForURI; readonly getSettingsSchemaForURI: GetThemeSettingsSchemaForURI; private providers; constructor(documentManager: DocumentManager, themeDocset: ThemeDocset, getTranslationsForURI?: GetTranslationsForURI, getSettingsSchemaForURI?: GetThemeSettingsSchemaForURI); hover(params: HoverParams): Promise<Hover | null>; }