[ez] Add missing ts type

This commit is contained in:
Sathya Gunasekaran
2023-11-02 11:10:33 -07:00
parent adadc21021
commit 4afee45440
@@ -181,7 +181,7 @@ function insertNewFunctionDeclaration(
function findEslintSuppressions(
fileComments: Array<t.CommentBlock | t.CommentLine>
): CompilerError | null {
const violations = [];
const violations: Array<t.CommentBlock | t.CommentLine> = [];
if (Array.isArray(fileComments)) {
for (const comment of fileComments) {