refactor: move @babel/helper-get-function-arity to ts (#12414)
* refactor: move @babel/helper-get-function-arity to ts * Review comments * chore: add flow interface
This commit is contained in:
@@ -43,3 +43,9 @@ declare module "@babel/helper-optimise-call-expression" {
|
||||
optional: boolean
|
||||
): BabelNodeCallExpression | BabelNodeOptionalCallExpression;
|
||||
}
|
||||
|
||||
declare module "@babel/helper-get-function-arity" {
|
||||
declare export default function helperGetFunctionArity(
|
||||
node: BabelNodeFunction
|
||||
): number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user