Skip to content

Commit ff81b52

Browse files
Potential fix for code scanning alert no. 146: Disallow type assertions that do not change the type of an expression
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 6f3b8f0 commit ff81b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/interview_preparation_kit/arrays/ctci_array_left_rotation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('ctci_array_left_rotation', () => {
1010
expect.assertions(8);
1111

1212
ROT_LEFT_TEST_CASES.forEach((test) => {
13-
const numbers = test.input as number[];
13+
const numbers = test.input;
1414

1515
const answer = arrayLeftRotation.rotLeft(
1616
numbers,

0 commit comments

Comments
 (0)