diff --git a/browser_tests/fixtures/VueNodeHelpers.ts b/browser_tests/fixtures/VueNodeHelpers.ts index 36617b4b5..3ec8cd60a 100644 --- a/browser_tests/fixtures/VueNodeHelpers.ts +++ b/browser_tests/fixtures/VueNodeHelpers.ts @@ -42,7 +42,7 @@ export class VueNodeHelpers { (nodes) => nodes .map((n) => n.getAttribute('data-node-id')) - .filter(Boolean) as string[] + .filter((id): id is string => id !== null) ) }