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 @@ -5121,8 +5121,20 @@ result = <boolean>_({}).isString();
5121
5121
}
5122
5122
5123
5123
// _.isTypedArray
5124
- result = < boolean > _ . isTypedArray ( [ ] ) ;
5125
- result = < boolean > _ ( [ ] ) . isTypedArray ( ) ;
5124
+ module TestIsTypedArray {
5125
+ {
5126
+ let result : boolean ;
5127
+
5128
+ result = _ . isTypedArray ( [ ] ) ;
5129
+ result = _ ( [ ] ) . isTypedArray ( ) ;
5130
+ }
5131
+
5132
+ {
5133
+ let result : _ . LoDashExplicitWrapper < boolean > ;
5134
+
5135
+ result = _ ( [ ] ) . chain ( ) . isTypedArray ( ) ;
5136
+ }
5137
+ }
5126
5138
5127
5139
// _.isUndefined
5128
5140
result = < boolean > _ . isUndefined ( any ) ;
Original file line number Diff line number Diff line change @@ -9005,6 +9005,7 @@ declare module _ {
9005
9005
interface LoDashStatic {
9006
9006
/**
9007
9007
* Checks if value is classified as a typed array.
9008
+ *
9008
9009
* @param value The value to check.
9009
9010
* @return Returns true if value is correctly classified, else false.
9010
9011
*/
@@ -9018,6 +9019,13 @@ declare module _ {
9018
9019
isTypedArray ( ) : boolean ;
9019
9020
}
9020
9021
9022
+ interface LoDashExplicitWrapperBase < T , TWrapper > {
9023
+ /**
9024
+ * see _.isTypedArray
9025
+ */
9026
+ isTypedArray ( ) : LoDashExplicitWrapper < boolean > ;
9027
+ }
9028
+
9021
9029
//_.isUndefined
9022
9030
interface LoDashStatic {
9023
9031
/**
You can’t perform that action at this time.
0 commit comments