Fix typo in option validation.
This commit is contained in:
parent
52b800decb
commit
06e5c46c8d
@ -9,7 +9,7 @@ export default declare(
|
|||||||
throw new Error(".allExtensions must be a boolean, or undefined");
|
throw new Error(".allExtensions must be a boolean, or undefined");
|
||||||
}
|
}
|
||||||
if (typeof isTSX !== "boolean") {
|
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) {
|
if (isTSX && !allExtensions) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user