@tmlmobilidade/utils 20250726.100.40 → 20250728.922.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Utility function that returns the value at a given path in an object.
3
- * @param {T} obj - The object to retrieve the value from.
4
- * @param {keyof T | string} path - The path to the value in the object.
5
- * @returns {unknown} - The value at the given path or undefined if the path is invalid.
3
+ * @param obj The object to retrieve the value from.
4
+ * @param path The path to the value in the object.
5
+ * @returns The value at the given path or undefined if the path is invalid.
6
6
  */
7
7
  export declare function getValueAtPath<T>(obj: T, path: keyof T | (NonNullable<unknown> & string)): unknown;
@@ -1,9 +1,9 @@
1
1
  /* * */
2
2
  /**
3
3
  * Utility function that returns the value at a given path in an object.
4
- * @param {T} obj - The object to retrieve the value from.
5
- * @param {keyof T | string} path - The path to the value in the object.
6
- * @returns {unknown} - The value at the given path or undefined if the path is invalid.
4
+ * @param obj The object to retrieve the value from.
5
+ * @param path The path to the value in the object.
6
+ * @returns The value at the given path or undefined if the path is invalid.
7
7
  */
8
8
  export function getValueAtPath(obj, path) {
9
9
  if (!path)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/utils",
3
- "version": "20250726.100.40",
3
+ "version": "20250728.922.40",
4
4
  "author": "João de Vasconcelos & Jusi Monteiro",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "homepage": "https://github.com/tmlmobilidade/services#readme",