diff --git a/src/utils/unset.ts b/src/utils/unset.ts index 30742a0ebe4..4ba0e252bef 100644 --- a/src/utils/unset.ts +++ b/src/utils/unset.ts @@ -6,6 +6,7 @@ import stringToPath from './stringToPath'; /** * Removes the property at `path` of `object`. + * @remarks `path` could be string or 'a.b.c' or 'a[0].b.c' whatever register() accepts * @example * const obj = { a: { b: { c: 42 } } }; * unset(obj, 'a.b.c');