mui-spfx-controls
Version:
SPFx component library built with MUI
8 lines • 437 B
TypeScript
/**
* Validates and converts a user-provided function string into an executable function.
*
* @param {string} code - The user-provided function code as a string.
* @returns {((formData: Record<string, any>) => void) | null} - The validated function or null if invalid.
*/
export declare function validateUserFunction(code: string): ((formData: Record<string, any>) => void) | null;
//# sourceMappingURL=validateUserFunction.d.ts.map