Skip to content

Commit 8c86e4c

Browse files
committed
Fix array spread linter error.
1 parent 8b3953f commit 8c86e4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XrmDefinitelyTyped/Resources/dg.xrmquery.rest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ namespace XQR { //eslint-disable-line @typescript-eslint/no-namespace
408408
},
409409
errorCallback ? errorCallback : NoOp,
410410
() => {
411-
successCallback([].concat.apply([], pages));
411+
successCallback(Array.prototype.concat(...pages));
412412
});
413413
}
414414

0 commit comments

Comments
 (0)