File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -434,7 +434,7 @@ const compoundAdjectiveDefinition = checkedSequence(
434
434
adjectives,
435
435
} ) )
436
436
. filterWithPositionedError ( ( { adjectives } ) =>
437
- adjectives . every ( ( adjective ) => adjective . adverbs . length === 0 ) ||
437
+ adjectives . every ( ( { adverbs : { length } } ) => length === 0 ) ||
438
438
throwError ( "compound adjective cannot have adverbs" )
439
439
) ;
440
440
const verbDefinition = checkedSequence (
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export const CONTEXT_CLAUSE_RULES: ReadonlyArray<
235
235
( contextClause : ContextClause ) => boolean
236
236
> = [
237
237
// only allow "anu la" when allowed by the settings
238
- ( clause ) => clause . type !== "anu" || settings . hardcodedAnuLa ,
238
+ ( { type } ) => type !== "anu" || settings . hardcodedAnuLa ,
239
239
240
240
// disallow "anu ala anu la"
241
241
( clause ) =>
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ export function multiplePhrases(
390
390
type : "noun" ,
391
391
noun : combineNoun (
392
392
conjunction ,
393
- phrase . map ( ( phrase ) => phrase . noun ) ,
393
+ phrase . map ( ( { noun } ) => noun ) ,
394
394
) ,
395
395
} ;
396
396
} else if ( phrase . every ( ( phrase ) => phrase . type === "adjective" ) ) {
@@ -401,7 +401,7 @@ export function multiplePhrases(
401
401
type : "adjective" ,
402
402
adjective : combineAdjective (
403
403
conjunction ,
404
- phrase . map ( ( phrase ) => phrase . adjective ) ,
404
+ phrase . map ( ( { adjective } ) => adjective ) ,
405
405
) ,
406
406
inWayPhrase : null ,
407
407
} ;
You can’t perform that action at this time.
0 commit comments