Skip to content

Commit bdbd123

Browse files
Give type information to convertedLabelArray
1 parent f0ce52d commit bdbd123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/common/text-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function convertNonPrintableChars(label: string | undefined) {
1717
* If the label contains certain non-printable characters, loop through each
1818
* character and replace it with the cooresponding unicode control label.
1919
*/
20-
const convertedLabelArray: any[] = [];
20+
const convertedLabelArray: string[] = [];
2121
for (let i = 0; i < label.length; i++) {
2222
const labelCheck = label.codePointAt(i)!;
2323
if (labelCheck <= CONTROL_CODE) {

0 commit comments

Comments
 (0)