UNPKG

jenesius-vue-form

Version:

Heavy form system for Vue.js

16 lines (15 loc) 477 B
interface IPoint { name: string; value: any; } /** * @description Method return array witch includes all points of provided object. * @example {a: 1, city: {code: 1}} => * [ * { name: 'a', value: 1 }, * { name: 'city', value: {code: 1} }, * { name: 'city.code', value: 1 }, * ] */ export default function iteratePoints(object: unknown, startWith?: string, array?: IPoint[]): IPoint[]; export {};