Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed Apr 24, 2024
1 parent fa81576 commit b605288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/contentScript/pageEditor/selectElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default async function selectElement({
);
}

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-unnecessary-type-assertion -- at least one element must be present
const element = elements[0]!;
// At least one must match, otherwise userSelectElement would have thrown
activeRoot =
Expand Down

0 comments on commit b605288

Please sign in to comment.