UNPKG

build-function

Version:

The way to describe and build simple functions using JSON

5 lines (4 loc) 354 B
import { EnvFound, Environment, EnvLib } from "./types"; export declare function createEnv(parent: Environment | null, lib?: EnvLib | null): Environment; export declare function findInEnv<V = any>(env: Environment, id: string, topOnly?: boolean): EnvFound<V> | void; export declare function setInEnv<V>(env: Environment, id: string, value: V): void;