Skip to content

Commit

Permalink
Merge pull request #20327 from boris-petrov/fix-native-array-mutation…
Browse files Browse the repository at this point in the history
…-method-types

Fix the types for the mutation-methods of `NativeArray`
  • Loading branch information
chriskrycho committed Dec 21, 2022
2 parents 7049edb + 3ff9fb9 commit 5cb0cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/preview/@ember/array/-private/native-array.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare module '@ember/array/-private/native-array' {
// Get an alias to the global Array type to use in inner scope below.
type Array<T> = T[];

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 5cb0cc9

Please sign in to comment.