@react-types/shared 3.0.0-nightly.2866 → 3.0.0-nightly.2883

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/inputs.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/shared",
3
- "version": "3.0.0-nightly.2866+b09a14eb1",
3
+ "version": "3.0.0-nightly.2883+0e05b7e4d",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "b09a14eb1854d9d52e08739e30aa8fae51f1595a"
17
+ "gitHead": "0e05b7e4dab3dabb875ae5ac21b32f75145ab527"
18
18
  }
package/src/inputs.d.ts CHANGED
@@ -18,7 +18,7 @@ export type ValidationError = string | string[];
18
18
  export type ValidationErrors = Record<string, ValidationError>;
19
19
  export type ValidationFunction<T> = (value: T) => ValidationError | true | null | undefined;
20
20
 
21
- export interface Validation<T> {
21
+ export interface Validation<T = unknown> {
22
22
  /** Whether user input is required on the input before form submission. */
23
23
  isRequired?: boolean,
24
24
  /** Whether the input value is invalid. */