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>

13 lines (12 loc) 764 B
import { JSONPath, MarkedString } from 'vscode-json-languageservice'; import { GetTranslationsForURI } from '../../../translations'; import { LiquidRequestContext, RequestContext } from '../../RequestContext'; import { JSONHoverProvider } from '../JSONHoverProvider'; import { GetThemeBlockSchema } from '../../JSONContributions'; export declare class BlockSettingsHoverProvider implements JSONHoverProvider { private getDefaultSchemaTranslations; private getThemeBlockSchema; constructor(getDefaultSchemaTranslations: GetTranslationsForURI, getThemeBlockSchema: GetThemeBlockSchema); canHover(context: RequestContext, path: JSONPath): context is LiquidRequestContext; hover(context: RequestContext, path: JSONPath): Promise<MarkedString[]>; }