File tree Expand file tree Collapse file tree 2 files changed +37
-18
lines changed Expand file tree Collapse file tree 2 files changed +37
-18
lines changed Original file line number Diff line number Diff line change @@ -6729,17 +6729,28 @@ module TestValues {
6729
6729
}
6730
6730
}
6731
6731
6732
- // _.valueIn
6733
- class TestValueIn {
6734
- public a = 1 ;
6735
- public b = 2 ;
6736
- public c : number ;
6737
- }
6738
- TestValueIn . prototype . c = 3 ;
6739
- result = < number [ ] > _ . valuesIn < number > ( new TestValueIn ( ) ) ;
6740
- // → [1, 2, 3]
6741
- result = < number [ ] > _ ( new TestValueIn ( ) ) . valuesIn < number > ( ) . value ( ) ;
6742
- // → [1, 2, 3]
6732
+ // _.valuesIn
6733
+ module TestValuesIn {
6734
+ let object : _ . Dictionary < TResult > ;
6735
+
6736
+ {
6737
+ let result : TResult [ ] ;
6738
+
6739
+ result = _ . valuesIn < TResult > ( object ) ;
6740
+ }
6741
+
6742
+ {
6743
+ let result : _ . LoDashImplicitArrayWrapper < TResult > ;
6744
+
6745
+ result = _ ( object ) . valuesIn < TResult > ( ) ;
6746
+ }
6747
+
6748
+ {
6749
+ let result : _ . LoDashExplicitArrayWrapper < TResult > ;
6750
+
6751
+ result = _ ( object ) . chain ( ) . valuesIn < TResult > ( ) ;
6752
+ }
6753
+ }
6743
6754
6744
6755
/**********
6745
6756
* String *
Original file line number Diff line number Diff line change @@ -11477,18 +11477,26 @@ declare module _ {
11477
11477
//_.valuesIn
11478
11478
interface LoDashStatic {
11479
11479
/**
11480
- * Creates an array of the own and inherited enumerable property values of object.
11481
- * @param object The object to query.
11482
- * @return Returns the array of property values.
11483
- **/
11480
+ * Creates an array of the own and inherited enumerable property values of object.
11481
+ *
11482
+ * @param object The object to query.
11483
+ * @return Returns the array of property values.
11484
+ */
11484
11485
valuesIn < T > ( object ?: any ) : T [ ] ;
11485
11486
}
11486
11487
11487
11488
interface LoDashImplicitObjectWrapper < T > {
11488
11489
/**
11489
- * @see _.valuesIn
11490
- **/
11491
- valuesIn < TResult > ( ) : LoDashImplicitArrayWrapper < TResult > ;
11490
+ * @see _.valuesIn
11491
+ */
11492
+ valuesIn < T > ( ) : LoDashImplicitArrayWrapper < T > ;
11493
+ }
11494
+
11495
+ interface LoDashExplicitObjectWrapper < T > {
11496
+ /**
11497
+ * @see _.valuesIn
11498
+ */
11499
+ valuesIn < T > ( ) : LoDashExplicitArrayWrapper < T > ;
11492
11500
}
11493
11501
11494
11502
/**********
You can’t perform that action at this time.
0 commit comments