Fix copy-paste error
parent
d1d3cd2bf5
commit
98000bd2fc
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue