I know that if we use the function keyword, it will recognize that as a function. But we don't want to rewrite the arrow functions to the function declaration style. Do we have any way to make it function instead of variable? Or do you have a plan to update? Thanks!
Hi! Thank you for the great project. This issue is regarding the "Docs" feature of the JSR website.
Our project prefers to use the arrow function style to define functions rather than using the
function
keyword:But the generated docs for this function in the JSR website will label it as
variable
:An example: https://jsr.io/@hono/hono@4.4.0-rc.1/doc/cookie/~/getCookie
I know that if we use the
function
keyword, it will recognize that as afunction
. But we don't want to rewrite the arrow functions to thefunction
declaration style. Do we have any way to make itfunction
instead ofvariable
? Or do you have a plan to update? Thanks!