Skip to content

Commit

Permalink
Fixing error message
Browse files Browse the repository at this point in the history
  • Loading branch information
awei01 committed Jun 7, 2019
1 parent ed7ba14 commit 8c0d25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/property.js
Expand Up @@ -4,7 +4,7 @@ const defaultTransform = v => v;

const objectTransform = (value) => {
if (typeof value !== 'object') {
throw TypeError(`Assigned value must be an object: ${typeof v}`);
throw TypeError(`Assigned value must be an object: ${typeof value}`);
}
return value && Object.freeze(value);
};
Expand Down

0 comments on commit 8c0d25a

Please sign in to comment.