Fix copy-paste error

This commit is contained in:
Dominik Reh
2023-01-28 23:46:22 +01:00
parent d1d3cd2bf5
commit 98000bd2fc

View File

@@ -2,7 +2,7 @@ class BaseTagParser {
triggerCondition = null;
constructor (triggerCondition) {
if (new.target === BaseCompletionParser) {
if (new.target === BaseTagParser) {
throw new TypeError("Cannot construct abstract BaseCompletionParser directly");
}
this.triggerCondition = triggerCondition;