@samitouri / QOS-React-2 / commits / 4afee45440

[ez] Add missing ts type

Sathya Gunasekaran committed Nov 2, 2023 at 11:10 UTC 4afee45440560fb810c60f37f3e290dc7e0d6ed3
1 file changed +1 -1
compiler/packages/babel-plugin-react-forget/src/Entrypoint/Program.ts
+1 -1
@@ -181,7 +181,7 @@ function insertNewFunctionDeclaration(
181 function findEslintSuppressions(
182 fileComments: Array<t.CommentBlock | t.CommentLine>
183 ): CompilerError | null {
184 - const violations = [];
184 + const violations: Array<t.CommentBlock | t.CommentLine> = [];
185
186 if (Array.isArray(fileComments)) {
187 for (const comment of fileComments) {