diff --git a/lib/helpers/objectMethods.ts b/lib/helpers/objectMethods.ts index 124706d..ca9fb98 100644 --- a/lib/helpers/objectMethods.ts +++ b/lib/helpers/objectMethods.ts @@ -124,7 +124,7 @@ export function rqueryAttr( /** * Helper to query data from an object. - * + * * props is defined as followed: * ```typescript * props: { @@ -133,10 +133,10 @@ export function rqueryAttr( * }[] * ``` * - * @example Example 1: - * + * @example Example 1: + * * ```javascript - * + * * const data = { "deep": { "nested": "test" } }; * const result = convert_data(data, [ * { @@ -144,12 +144,12 @@ export function rqueryAttr( * "query": "deep/nested", * }, * ]); - * + * * // ==> result = [{"result": "test"}] - * ``` + * ``` * * @example Example 2: - * + * * ```javascript * data = { * "array": [ @@ -177,8 +177,8 @@ export function rqueryAttr( * ]) * * // ==> result = [{"a": 0, "b": "a"}, {"a": 1, "b": "a"}] - * ``` - * + * ``` + * * @param data The data * @param query The query to use. * @returns Returns an array diff --git a/lib/helpers/path.ts b/lib/helpers/path.ts index 2d930ac..8ea036f 100644 --- a/lib/helpers/path.ts +++ b/lib/helpers/path.ts @@ -17,12 +17,12 @@ export function convertPath(path: string): string { /** * Returns the least common segmet of all pathes, included in the pathes array. - * + * * The Following options are available. * * "considerSingleLevel":boolean -> allows "singlelevel"-wildcards in the segments * "considerMultiLevel":boolean -> allows "multilevel"-wildcards in the segments - * + * * @param pathes The Segments to compare * @param opts Additional Options. * @returns