mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[ez] Add missing ts type
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user