UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

22 lines (20 loc) 977 B
import { ISourceProps } from '../ISourceProps'; export declare function stringifyFpsSpServiceObj(obj: any, leaveNote?: boolean): string; /** 2024-12-23: trying to proactively fix issue with stringifying sourceProps with fpsSpService on it per ChatGPT, this is the way to properly stringify sourceProps without impacting fpsSpService 2025-01-20: Also adding logic to remove standard react.elements on the input * @param sourceProps * @returns */ export declare function clonePropsWithFpsSpService(sourceProps: any): ISourceProps; /** * removeFpsSpService is used for when you want to remove things for adding to the ReactJSON component * It will remove fpsSpService class and also known bannerProps and webpart props JSX.Elements * * @param sourceProps * @param leaveNote * @returns */ export declare function removeFpsSpService(sourceProps: any, leaveNote?: boolean): ISourceProps; //# sourceMappingURL=cloneSourceProps.d.ts.map