UNPKG

constatic

Version:
2 lines (1 loc) 240 B
import{modifyObjArg as n}from"#helpers";async function s(e,i,t){await n({callname:"z.object",source:e,modify:o=>o.addPropertyAssignments(t.map(([a,r])=>({name:a,initializer:r})))});for(const[o,a,r=""]of t)i.set(o,r)}export{s as updateEnv};