New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: move @babel/helper-get-function-arity to ts #12414
Conversation
JLHwung
commented
Nov 27, 2020
•
edited by gitpod-io
bot
edited by gitpod-io
bot
Q | A |
---|---|
License | MIT |
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/33719/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2f84b9f:
|
|
||
export default function (node): number { | ||
const params: Array<Object> = node.params; | ||
export default function (node: Function): number { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be t.Function
? Seeing Function
is a bit confusing, because of the built-in Function
type.
4cc3611
to
44e2eb6
Compare
44e2eb6
to
2f84b9f
Compare
* refactor: move @babel/helper-get-function-arity to ts * Review comments * chore: add flow interface