Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

21
node_modules/es-toolkit/dist/compat/object/unset.d.ts generated vendored Normal file
View File

@@ -0,0 +1,21 @@
//#region src/compat/object/unset.d.ts
/**
* Removes the property at the given path of the object.
*
* @param {unknown} obj - The object to modify.
* @param {PropertyKey | readonly PropertyKey[]} path - The path of the property to unset.
* @returns {boolean} - Returns true if the property is deleted, else false.
*
* @example
* const obj = { a: { b: { c: 42 } } };
* unset(obj, 'a.b.c'); // true
* console.log(obj); // { a: { b: {} } }
*
* @example
* const obj = { a: { b: { c: 42 } } };
* unset(obj, ['a', 'b', 'c']); // true
* console.log(obj); // { a: { b: {} } }
*/
declare function unset(obj: any, path: PropertyKey | readonly PropertyKey[]): boolean;
//#endregion
export { unset };