Skip to content

Commit ed8cea1

Browse files
committed
handle typed arrays in transform target
1 parent db62bb1 commit ed8cea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ lib.getTargetArray = function(trace, transformOpts) {
686686
if(typeof target === 'string' && target) {
687687
var array = lib.nestedProperty(trace, target).get();
688688
return lib.isArrayOrTypedArray(array) ? array : false;
689-
} else if(Array.isArray(target)) {
689+
} else if(lib.isArrayOrTypedArray(target)) {
690690
return target;
691691
}
692692

0 commit comments

Comments
 (0)