8000 Fix message to use template string · typed-immutable/typed-immutable@c16cd96 · GitHub
[go: up one dir, main page]

Skip to content

Commit c16cd96

Browse files
committed
Fix message to use template string
1 parent 3b18c6a commit c16cd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export const List = function(descriptor, label) {
289289
const type = typeOf(descriptor)
290290

291291
if (type === Any) {
292-
throw TypeError("Typed.List was passed an invalid type descriptor: ${descriptor}")
292+
throw TypeError(`Typed.List was passed an invalid type descriptor: ${descriptor}`)
293293
}
294294

295295
const ListType = function(value) {

0 commit comments

Comments
 (0)
0