Skip to content

Commit

Permalink
Merge pull request #17 from udnisap/typo-fix-in-error
Browse files Browse the repository at this point in the history
Fixed typo on error when empty Record is constructed
  • Loading branch information
stutrek committed Jul 13, 2016
2 parents 4dce1c5 + adf4729 commit 348160d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const Record = function(descriptor, label) {

return RecordType
} else {
throw TypeError(`Typed.Record descriptor must define at least on field`)
throw TypeError(`Typed.Record descriptor must define at least one field`)
}
} else {
throw TypeError(`Typed.Record must be passed a descriptor of fields`)
Expand Down

0 comments on commit 348160d

Please sign in to comment.