@yamada-ui/utils 0.3.2 → 0.3.3
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.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.types.d.mts +4 -1
- package/dist/index.types.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Dict, Length, Path, Primitive, StringLiteral, Union } from './index.types.mjs';
|
|
1
|
+
export { Dict, Length, Merge, Path, Primitive, StringLiteral, Union } from './index.types.mjs';
|
|
2
2
|
export { cast, isArray, isEmpty, isFunction, isNotNumber, isNull, isNumber, isNumeric, isObject, isString, isUndefined, isUnit } from './assertion.mjs';
|
|
3
3
|
export { assignAfter, filterObject, filterUndefined, flattenObject, getMemoizedObject, getObject, keysFormObject, memoizeObject, merge, objectFromEntries, omitObject, pickObject, replaceObject, splitObject } from './object.mjs';
|
|
4
4
|
export { funcAll, handlerAll, noop, runIfFunc } from './function.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Dict, Length, Path, Primitive, StringLiteral, Union } from './index.types.js';
|
|
1
|
+
export { Dict, Length, Merge, Path, Primitive, StringLiteral, Union } from './index.types.js';
|
|
2
2
|
export { cast, isArray, isEmpty, isFunction, isNotNumber, isNull, isNumber, isNumeric, isObject, isString, isUndefined, isUnit } from './assertion.js';
|
|
3
3
|
export { assignAfter, filterObject, filterUndefined, flattenObject, getMemoizedObject, getObject, keysFormObject, memoizeObject, merge, objectFromEntries, omitObject, pickObject, replaceObject, splitObject } from './object.js';
|
|
4
4
|
export { funcAll, handlerAll, noop, runIfFunc } from './function.js';
|
package/dist/index.types.d.mts
CHANGED
|
@@ -7,5 +7,8 @@ type Dict<T = any> = Record<string, T>;
|
|
|
7
7
|
type StringLiteral = string & {};
|
|
8
8
|
type Union<T> = T | StringLiteral;
|
|
9
9
|
type Length = string | 0 | number;
|
|
10
|
+
type Merge<T extends object> = {
|
|
11
|
+
[K in keyof T]: T[K];
|
|
12
|
+
};
|
|
10
13
|
|
|
11
|
-
export { Dict, Length, Path, Primitive, StringLiteral, Union };
|
|
14
|
+
export { Dict, Length, Merge, Path, Primitive, StringLiteral, Union };
|
package/dist/index.types.d.ts
CHANGED
|
@@ -7,5 +7,8 @@ type Dict<T = any> = Record<string, T>;
|
|
|
7
7
|
type StringLiteral = string & {};
|
|
8
8
|
type Union<T> = T | StringLiteral;
|
|
9
9
|
type Length = string | 0 | number;
|
|
10
|
+
type Merge<T extends object> = {
|
|
11
|
+
[K in keyof T]: T[K];
|
|
12
|
+
};
|
|
10
13
|
|
|
11
|
-
export { Dict, Length, Path, Primitive, StringLiteral, Union };
|
|
14
|
+
export { Dict, Length, Merge, Path, Primitive, StringLiteral, Union };
|