Skip to content

Commit

Permalink
$mol_range3 read only range
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Sep 16, 2023
1 parent 64f3f68 commit 1f73174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion range3/range3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace $ {

@ $mol_mem
range() {
return $mol_range2(index => this.at(index), () => this.length, this)
return $mol_range2(index => this.at(index), () => this.length, this) as readonly Item[]
}

}
Expand Down

0 comments on commit 1f73174

Please sign in to comment.