File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -5136,8 +5136,20 @@ result = <boolean>_({}).isString();
5136
5136
}
5137
5137
5138
5138
// _.isTypedArray
5139
- result = < boolean > _ . isTypedArray ( [ ] ) ;
5140
- result = < boolean > _ ( [ ] ) . isTypedArray ( ) ;
5139
+ module TestIsTypedArray {
5140
+ {
5141
+ let result : boolean ;
5142
+
5143
+ result = _ . isTypedArray ( [ ] ) ;
5144
+ result = _ ( [ ] ) . isTypedArray ( ) ;
5145
+ }
5146
+
5147
+ {
5148
+ let result : _ . LoDashExplicitWrapper < boolean > ;
5149
+
5150
+ result = _ ( [ ] ) . chain ( ) . isTypedArray ( ) ;
5151
+ }
5152
+ }
5141
5153
5142
5154
// _.isUndefined
5143
5155
result = < boolean > _ . isUndefined ( any ) ;
Original file line number Diff line number Diff line change @@ -9013,6 +9013,7 @@ declare module _ {
9013
9013
interface LoDashStatic {
9014
9014
/**
9015
9015
* Checks if value is classified as a typed array.
9016
+ *
9016
9017
* @param value The value to check.
9017
9018
* @return Returns true if value is correctly classified, else false.
9018
9019
*/
@@ -9026,6 +9027,13 @@ declare module _ {
9026
9027
isTypedArray ( ) : boolean ;
9027
9028
}
9028
9029
9030
+ interface LoDashExplicitWrapperBase < T , TWrapper > {
9031
+ /**
9032
+ * see _.isTypedArray
9033
+ */
9034
+ isTypedArray ( ) : LoDashExplicitWrapper < boolean > ;
9035
+ }
9036
+
9029
9037
//_.isUndefined
9030
9038
interface LoDashStatic {
9031
9039
/**
You can’t perform that action at this time.
0 commit comments