Skip to content

Commit

Permalink
Fixed typo on error when empty Record is constructed
Browse files Browse the repository at this point in the history
  • Loading branch information
udnisap committed Feb 18, 2016
1 parent 5ee84ac commit adf4729
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 adf4729

Please sign in to comment.