UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

9 lines (8 loc) 579 B
import type { Schema } from '../../types/schema'; type SchemaType = 'string' | 'boolean' | 'object' | 'number' | 'array'; export declare function getSchemaType(schema: Schema): SchemaType; export declare function flattenSchema(schema: Record<string, Schema>, base?: Record<string, Schema>, parent?: string): Record<string, Schema>; export declare function setNestedProperty<T extends object, K>(obj: T, path: string, value: K): void; export declare function camelCaseToKebabCase(str: string): string; export declare function kebabCaseToCamelCase(str: string): string; export {};