From c16cd96bff3bd8325aa3de36929e862df30ac9c4 Mon Sep 17 00:00:00 2001 From: Dave Coates Date: Thu, 18 Feb 2016 21:24:15 +1100 Subject: [PATCH] Fix message to use template string --- src/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.js b/src/list.js index 2449375..53722e4 100644 --- a/src/list.js +++ b/src/list.js @@ -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) {