Skip to content

Commit

Permalink
$mol_array_groups: fixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
jin committed Jun 6, 2024
1 parent 2ceeb35 commit b50f39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array/groups/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace $ {
const list = ( res[ group( item ) ] ||= [] )
list.push( item )
}
return res as $mol_type_immutable_deep< typeof res >
return res as Readonly< typeof res >
}

}

0 comments on commit b50f39e

Please sign in to comment.