clarity-pattern-parser
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -56,3 +56,3 @@ "use strict"; | ||
value: function _assertArguments() { | ||
if (!(this.children[0] instanceof _ValuePattern2.default)) { | ||
if (!(this.children[0] instanceof _Pattern.default)) { | ||
throw new Error("Invalid Arguments: Expected the pattern to be a ValuePattern."); | ||
@@ -59,0 +59,0 @@ } |
{ | ||
"name": "clarity-pattern-parser", | ||
"type": "module", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "./lib/index.js", |
@@ -13,3 +13,3 @@ import ValuePattern from "./ValuePattern.js"; | ||
_assertArguments() { | ||
if (!(this.children[0] instanceof ValuePattern)) { | ||
if (!(this.children[0] instanceof Pattern)) { | ||
throw new Error( | ||
@@ -16,0 +16,0 @@ "Invalid Arguments: Expected the pattern to be a ValuePattern." |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
600152