We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4703b28 commit 83a3f13Copy full SHA for 83a3f13
src/backend/helpers.ts
@@ -62,7 +62,7 @@ export const getHooksNames = (elementType : string) : Array<string> => {
62
while (Object.hasOwnProperty.call(ast, 'body')) {
63
let tsCount : number = 0; // Counter for the number of TypeScript hooks seen (to distinguish in masterState)
64
ast = ast.body;
65
- const statements : Array<any> = [];
+ const statements : Array<string> = [];
66
67
/** All module exports always start off as a single 'FunctionDeclaration' type
68
* Other types: "BlockStatement" / "ExpressionStatement" / "ReturnStatement"
0 commit comments