shamrickus commented on code in PR #7562:
URL: https://github.com/apache/trafficcontrol/pull/7562#discussion_r1228224409


##########
experimental/traffic-portal/src/app/utils/index.spec.ts:
##########
@@ -99,7 +99,7 @@ describe("Typing utility functions", () => {
        it("should check homogenous array types correctly", () => {
                const a = {};
                expect(isArray(a)).toBeFalse();
-               const b = new Array();
+               const b: unknown[] = [];

Review Comment:
   It was a linting rule from the recommended (which is now removed), but for 
the record I think this change makes sense.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to