UNPKG

liquidjs

Version:

A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.

7 lines (6 loc) 258 B
import { Drop } from '../drop/drop'; export interface ScopeObject extends Record<string | number | symbol, any> { toLiquid?: () => any; } export type Scope = ScopeObject | Drop; export declare function createScope(from?: ScopeObject): ScopeObject;