import { Drop } from '../drop/drop' export interface ScopeObject extends Record { toLiquid?: () => any; } export type Scope = ScopeObject | Drop export function createScope (from?: ScopeObject): ScopeObject { const scope = Object.create(null) if (from) Object.assign(scope, from) return scope }