Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function loadStandardLibraries(proxyContext: Context, customBuiltIns: CustomBuiltIns) {
importBuiltins(proxyContext, customBuiltIns);
defineBuiltin(proxyContext, 'makeUndefinedErrorFunction', (fname: string) => () => {
throw new Error(`Name ${fname} not declared.`);
});
}