Address new lint issues from previous commit.

This commit is contained in:
David Anson 2025-10-28 22:13:27 -07:00
parent 3a3416f15e
commit 2d48be6694
3 changed files with 14 additions and 15 deletions

View file

@ -142,11 +142,10 @@ export function getEvents(
.trim();
if ((text.length > 0) && !text.includes("]")) {
/** @type {Event[]} */
const artificialEvents = [];
artificialEvents.push(
const artificialEvents = [
[ "enter", undefinedReferenceType, tokenizeContext ],
[ "enter", undefinedReference, tokenizeContext ]
);
];
for (const event of eventsToReplicate) {
const [ kind, token ] = event;
// Copy token because the current object will get modified by the parser