Add missing _.matches iteratee shorthand

This commit is contained in:
polizz
2017-12-07 08:20:56 -06:00
parent 4cf3f7aed8
commit 2fb10c3e99
+1 -1
View File
@@ -17100,7 +17100,7 @@ declare namespace _ {
// Note: key should be string, not keyof T, because the actual object may contain extra properties that were not specified in the type.
type ObjectIterator<TObject, TResult> = (value: TObject[keyof TObject], key: string, collection: TObject) => TResult;
type ObjectIteratee<TObject> = ObjectIterator<TObject, NotVoid> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | [string, any] | PartialDeep<TObject[keyof TObject]>;
type ObjectIterateeCustom<TObject, TResult> = ObjectIterator<TObject, TResult> | string | {} | [string, any] | PartialDeep<TObject[keyof TObject]>;
type ObjectIteratorTypeGuard<TObject, S extends TObject[keyof TObject]> = (value: TObject[keyof TObject], key: string, collection: TObject) => value is S;
type DictionaryIterator<T, TResult> = ObjectIterator<Dictionary<T>, TResult>;