@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>
7 lines (6 loc) • 428 B
TypeScript
import { LiquidHtmlNode, LiquidRawTag } from '@shopify/liquid-html-parser';
export declare function fileMatch(uri: string, patterns: RegExp[]): boolean;
export declare function isSectionFile(uri: string): boolean;
export declare function isBlockFile(uri: string): boolean;
export declare function isSectionOrBlockFile(uri: string): boolean;
export declare function findSchemaNode(ast: LiquidHtmlNode): LiquidRawTag | undefined;