You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The namespace-wrapping logic for d.bs files needs to wrap around the leading documentation blocks. Consider this raw d.bs file from node_modules
' /**' * Adds two numbers.' * @category Math' * @param {Dynamic} augend - The first number in an addition' * @param {Dynamic} addend - The second number in an addition' * @returns {Dynamic} value - Returns the total' */functionadd(augend, addend)
end function
ropm incorrectly transforms it to this:
' /**' * Adds two numbers.' * @category Math' * @param {Dynamic} augend - The first number in an addition' * @param {Dynamic} addend - The second number in an addition' * @returns {Dynamic} value - Returns the total' */namespacerodashfunctionadd(augend, addend)
end functionend namespace
when it should have been this:
namespacerodash' /**' * Adds two numbers.' * @category Math' * @param {Dynamic} augend - The first number in an addition' * @param {Dynamic} addend - The second number in an addition' * @returns {Dynamic} value - Returns the total' */functionadd(augend, addend)
end functionend namespace
I think this is the spot that needs updated. We need to walk upwards to set the starting line above any leading comments
The text was updated successfully, but these errors were encountered:
The namespace-wrapping logic for d.bs files needs to wrap around the leading documentation blocks. Consider this raw d.bs file from node_modules
ropm incorrectly transforms it to this:
when it should have been this:
I think this is the spot that needs updated. We need to walk upwards to set the starting line above any leading comments
The text was updated successfully, but these errors were encountered: