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>

8 lines (7 loc) 378 B
import { JSONPath, MarkedString } from 'vscode-json-languageservice'; import { RequestContext } from '../RequestContext'; export interface JSONHoverProvider { /** Must be sync because of weird JSONWorkerContribution API */ canHover(context: RequestContext, location: JSONPath): boolean; hover(context: RequestContext, location: JSONPath): Promise<MarkedString[]>; }