@canard/schema-form
Version:
React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components
9 lines (8 loc) • 328 B
TypeScript
/**
* Joins a segment to a path.
* @param path - The path to join the segment to.
* @param segment - The segment to join to the path.
* @note Use string literal type to execute faster.
* @returns The path with the segment joined.
*/
export declare const joinSegment: (path: string | undefined, segment: string) => string;