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