UNPKG

@dipscope/type-manager

Version:

Transform JSON strings or plain objects into JS class instances.

27 lines 711 B
import { NamingConvention } from '../naming-convention'; /** * Kebab case naming convention. * * @type {KebabCaseNamingConvention} */ export declare class KebabCaseNamingConvention implements NamingConvention { /** * Converts name from provided to target one. * * @param {string} name Name. * * @returns {string} Converted name. */ convert(name: string): string; /** * Reduce function. * * @param {string} result Result string. * @param {string} word Word to process. * @param {number} index Word index. * * @returns {string} Reduced string. */ private reduce; } //# sourceMappingURL=kebab-case-naming-convention.d.ts.map