refactor: eliminate 4 as any casts in extraction.ts
CI / lint (push) Successful in 9m56s
CI / build (push) Failing after 5m35s
CI / unit (18) (push) Has been skipped
CI / unit (20) (push) Has been skipped
CI / unit (22) (push) Has been skipped
CI / e2e (push) Has been skipped

- Added 'contain' field to FastExtractedElement.style interface, removing
  (s as any).contain property smuggling (line 682)
- Replaced (assertion as any) duck-typing in getSelectorsFromAssertion
  with instanceof FluentRelation/FluentQuantifier/FluentAssertion checks
- Replaced (assertion as any) duck-typing in buildFluentLabel with
  same instanceof pattern
- Structural baseline ratcheted: asAny 101→98, nullishZero 62→61
This commit is contained in:
John Dvorak
2026-05-22 16:57:19 -07:00
parent 2bdda12030
commit 4142027f9b
2 changed files with 32 additions and 36 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{
"asAny": 101,
"asAny": 98,
"emptyCatch": 17,
"nullishZero": 62
"nullishZero": 61
}