@shopify/react-form
Advanced tools
+7
-3
@@ -72,5 +72,9 @@ import { ChangeEvent } from 'react'; | ||
| } : T; | ||
| export declare type FormMapping<Bag extends { | ||
| [key: string]: FieldOutput<any>; | ||
| }, FieldKey extends keyof Field<any>> = { | ||
| /** | ||
| Represents all of the values for a given key mapped out of a mixed dictionary of Field objects, | ||
| nested Field objects, and arrays of nested Field objects. | ||
| This is generally only useful if you're mapping over and transforming a nested tree of fields. | ||
| */ | ||
| export declare type FormMapping<Bag, FieldKey extends keyof Field<any>> = { | ||
| [Key in keyof Bag]: Bag[Key] extends any[] ? { | ||
@@ -77,0 +81,0 @@ [Index in keyof Bag[Key]]: FieldProp<Bag[Key][Index], FieldKey>; |
+1
-1
| { | ||
| "name": "@shopify/react-form", | ||
| "version": "0.3.7", | ||
| "version": "0.3.8", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Manage react forms tersely and safely-typed with no magic using React hooks.", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
88741
0.24%1511
0.2%