Skip to content

Commit

Permalink
Fix message to use template string
Browse files Browse the repository at this point in the history
  • Loading branch information
davecoates committed Jul 27, 2016
1 parent 3b18c6a commit c16cd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export const List = function(descriptor, label) {
const type = typeOf(descriptor)

if (type === Any) {
throw TypeError("Typed.List was passed an invalid type descriptor: ${descriptor}")
throw TypeError(`Typed.List was passed an invalid type descriptor: ${descriptor}`)
}

const ListType = function(value) {
Expand Down

0 comments on commit c16cd96

Please sign in to comment.