@formkit/utils
Advanced tools
Comparing version 1.0.0-beta.7-21673cc to 1.0.0-beta.7-362a421
@@ -120,3 +120,3 @@ /** | ||
export declare function init<T extends object>(obj: T): T & { | ||
__init: true; | ||
__init?: true; | ||
}; | ||
@@ -140,3 +140,3 @@ | ||
*/ | ||
export declare function isPojo(o: any): boolean; | ||
export declare function isPojo(o: any): o is Record<string, any>; | ||
@@ -224,2 +224,10 @@ /** | ||
/** | ||
* Very shallowly clones the given object. | ||
* @param obj - The object to shallow clone | ||
* @returns | ||
* @public | ||
*/ | ||
export declare function shallowClone<T>(obj: T, explicit?: string[]): T; | ||
/** | ||
* Turn any string into a URL/DOM safe string. | ||
@@ -226,0 +234,0 @@ * @public |
{ | ||
"name": "@formkit/utils", | ||
"version": "1.0.0-beta.7-21673cc", | ||
"version": "1.0.0-beta.7-362a421", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Shared utilities for FormKit packages", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
42384
1383