@module-federation/enhanced
Version:
This package provides enhanced features for module federation.
12 lines • 508 B
TypeScript
//#region src/utils.d.ts
/**
* @template {object | object[]} T
* @param {(function(T): boolean) | undefined} check check
* @param {() => JsonObject} getSchema get schema fn
* @param {ValidationErrorConfiguration} options options
* @returns {function(T=): void} validate
*/
declare const createSchemaValidation: (check: ((value: any) => boolean) | undefined, getSchema: () => any, options: any) => (value: any) => void;
//#endregion
export { createSchemaValidation };
//# sourceMappingURL=utils.d.ts.map