UNPKG

liquidjs

Version:

A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.

13 lines (12 loc) 367 B
import { Operators, OperatorHandler } from '../render/operator'; interface TrieLeafNode { handler: OperatorHandler; end: true; needBoundary?: true; } export interface Trie { [key: string]: Trie | TrieLeafNode; } export declare type TrieNode = Trie | TrieLeafNode; export declare function createTrie(operators: Operators): Trie; export {};