@@ -365,6 +365,7 @@ test("TrimmedString", () => {
365365 }
366366
367367 const TrimmedAString = trimmed ( AString ) ;
368+ // biome-ignore lint/correctness/noUnusedVariables: Test utility
368369 type TrimmedAString = typeof TrimmedAString . Type ;
369370
370371 expect ( TrimmedAString . from ( "a" ) ) . toEqual ( ok ( "a" ) ) ;
@@ -2401,6 +2402,7 @@ test("optional", () => {
24012402 age : PositiveNumber ,
24022403 } ) ;
24032404
2405+ // biome-ignore lint/correctness/noUnusedVariables: Test utility
24042406 type User = typeof User . Type ;
24052407
24062408 expect ( User . from ( { name : "Alice" , age : 30 } ) ) . toEqual (
@@ -2691,6 +2693,7 @@ test("custom formatTypeError written from scratch", () => {
26912693 if ( error . reason . kind === "NotObject" ) return "Must be an object" ;
26922694 if ( error . reason . kind === "ExtraKeys" )
26932695 return "Contains unexpected fields" ;
2696+ // biome-ignore lint/style/noNonNullAssertion: Guaranteed by logic
26942697 const firstError = Object . values ( error . reason . errors ) . find (
26952698 ( e ) => e !== undefined ,
26962699 ) ! ;
@@ -3352,6 +3355,7 @@ describe("typed", () => {
33523355 } ) ;
33533356
33543357 const Payment = union ( Credit , Debit , Cash , Crypto ) ;
3358+ // biome-ignore lint/correctness/noUnusedVariables: Test utility
33553359 type Payment = typeof Payment . Type ;
33563360
33573361 // Each variant is distinguishable by type
@@ -3414,6 +3418,7 @@ describe("typed", () => {
34143418 age : optional ( PositiveInt ) ,
34153419 } ) ;
34163420
3421+ // biome-ignore lint/correctness/noUnusedVariables: Test utility
34173422 type User = typeof User . Type ;
34183423
34193424 const validUser = User . from ( {
0 commit comments