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) 548 B
import { DocsetEntry, FilterEntry, TagEntry } from '@shopify/theme-check-common'; import { ArrayType, PseudoType } from '../TypeSystem'; import { Attribute, Tag, Value } from './HtmlDocset'; export type HtmlEntry = Tag | Attribute | Value; export type DocsetEntryType = 'filter' | 'tag' | 'object'; export declare function render(entry: DocsetEntry | FilterEntry | TagEntry, returnType?: PseudoType | ArrayType, docsetEntryType?: DocsetEntryType): string; export declare function renderHtmlEntry(entry: HtmlEntry, parentEntry?: HtmlEntry): string;