Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Jun 2, 2015
1 parent 360ef5c commit da34b29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
**Note**: Gaps between patch versions are faulty/broken releases.

## 0.6.0
## 0.7.0

- **Breaking Change**
+ upgrade to tcomb-validation v2.0
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function propTypes(type) {
// in production will be a noop
function props(Type) {
if (process.env.NODE_ENV !== 'production') {
Type = t.Type.is(Type) ? Type : t.struct(Type);
Type = t.isType(Type) ? Type : t.struct(Type);
return function (Component) {
Component.propTypes = propTypes(Type);
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tcomb-react",
"version": "0.6.0",
"version": "0.7.0",
"description": "Type checking for React components",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit da34b29

Please sign in to comment.