Fix typo in option validation.

This commit is contained in:
Logan Smyth 2018-05-23 09:23:14 -07:00
parent 52b800decb
commit 06e5c46c8d

View File

@ -9,7 +9,7 @@ export default declare(
throw new Error(".allExtensions must be a boolean, or undefined");
}
if (typeof isTSX !== "boolean") {
throw new Error(".allExtensions must be a boolean, or undefined");
throw new Error(".isTSX must be a boolean, or undefined");
}
if (isTSX && !allExtensions) {