Fix copy-paste error

pull/128/head
Dominik Reh 2023-01-28 23:46:22 +01:00
parent d1d3cd2bf5
commit 98000bd2fc
1 changed files with 1 additions and 1 deletions

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;