mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #26632 from mfeckie/fix/explicit-null-in-iterator
Allow any comparison type for rejectBy
This commit is contained in:
Vendored
+1
-1
@@ -1173,7 +1173,7 @@ declare module 'ember' {
|
||||
* key. You can pass an optional second argument with the target value. Otherwise
|
||||
* this will match any property that evaluates to false.
|
||||
*/
|
||||
rejectBy(key: string, value?: string): NativeArray<T>;
|
||||
rejectBy(key: string, value?: any): NativeArray<T>;
|
||||
/**
|
||||
* Returns the first item in the array for which the callback returns true.
|
||||
* This method works similar to the `filter()` method defined in JavaScript 1.6
|
||||
|
||||
Reference in New Issue
Block a user