@arthurgubaidullin/nx-embed-dependencies
Version:
This plugin for [Nx](https://nx.dev) helps injecting local dependencies into a package.
15 lines (14 loc) • 431 B
JavaScript
import { memoize } from './Schemable';
// -------------------------------------------------------------------------------------
// constructors
// -------------------------------------------------------------------------------------
/**
* @category constructors
* @since 2.2.0
*/
export function make(schema) {
return memoize(schema);
}
export function interpreter(S) {
return function (schema) { return schema(S); };
}