formula-one
Advanced tools
Comparing version 0.3.0 to 0.3.1
# Changelog | ||
### v0.3.1 | ||
- Unbreak a test. | ||
### v0.3.0 | ||
@@ -4,0 +8,0 @@ |
@@ -631,7 +631,11 @@ "use strict"; | ||
function (_, onSubmit) { | ||
// $ExpectError | ||
onSubmit(); | ||
// $ExpectError | ||
onSubmit("hello"); | ||
onSubmit("extra"); | ||
return React.createElement("button", { | ||
onClick: function onClick() { | ||
// $ExpectError | ||
onSubmit(); | ||
// $ExpectError | ||
onSubmit("hello"); | ||
onSubmit("extra"); | ||
} | ||
}); | ||
} | ||
@@ -638,0 +642,0 @@ )); |
{ | ||
"name": "formula-one", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Strongly-typed React form state management", | ||
@@ -5,0 +5,0 @@ "author": "Zach Gotsch", |
@@ -521,9 +521,13 @@ // @flow | ||
> | ||
{(_, onSubmit) => { | ||
// $ExpectError | ||
onSubmit(); | ||
// $ExpectError | ||
onSubmit("hello"); | ||
onSubmit("extra"); | ||
}} | ||
{(_, onSubmit) => ( | ||
<button | ||
onClick={() => { | ||
// $ExpectError | ||
onSubmit(); | ||
// $ExpectError | ||
onSubmit("hello"); | ||
onSubmit("extra"); | ||
}} | ||
/> | ||
)} | ||
</Form> | ||
@@ -530,0 +534,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
231329
5967