Skip to content

Commit

Permalink
Fix the types for the mutation-methods of NativeArray
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-petrov committed Jul 3, 2023
1 parent 3d43480 commit 771dcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/array/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1899,7 +1899,7 @@ const MutableArray = Mixin.create(EmberArray, MutableEnumerable, {
@module ember
*/

type AnyArray<T> = EmberArray<T> | Array<T>;
type AnyArray<T> = EmberArray<T> | Array<T> | ReadonlyArray<T>;

/**
* The final definition of NativeArray removes all native methods. This is the list of removed methods
Expand Down

0 comments on commit 771dcec

Please sign in to comment.