@flywire/react-hooks
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -1,8 +0,4 @@ | ||
declare type FieldValue = string | boolean | null; | ||
declare type FieldValues = { | ||
[key: string]: FieldValue; | ||
}; | ||
declare type DirtyFields = { | ||
[key: string]: boolean; | ||
}; | ||
declare type FieldValue = string | number | boolean | null | undefined; | ||
declare type FieldValues = Record<string, any>; | ||
declare type DirtyFields = Record<string, boolean>; | ||
declare function useFormState(initialValues?: FieldValues): { | ||
@@ -9,0 +5,0 @@ update: (name: string, value: FieldValue) => void; |
{ | ||
"name": "@flywire/react-hooks", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "A collection of Reacts hooks used in Flywire", | ||
@@ -16,2 +16,3 @@ "main": "dist/index.js", | ||
"check:format": "npm run prettier -- --list-different", | ||
"check:types": "tsc", | ||
"format": "prettier --write ./src", | ||
@@ -24,3 +25,3 @@ "lint": "eslint ./src", | ||
"test:once": "jest", | ||
"validate": "npm run check:format && npm run lint", | ||
"validate": "npm run check:types && npm run check:format && npm run lint", | ||
"version": "npm run build && git add -A && git push && git push --tags" | ||
@@ -27,0 +28,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148293
4549