Following the revelation in #21 that we can actually use a generic Node type in our docs, for example, @param {Node}, we should go through the codebase and change any instances of object to Node.
In addition, we can get rid of the any return type by specifying the return type of the function in the @returns, e.g. @returns {Node}.
Following the revelation in #21 that we can actually use a generic
Node
type in our docs, for example,@param {Node}
, we should go through the codebase and change any instances ofobject
toNode
.In addition, we can get rid of the
any
return type by specifying the return type of the function in the@returns
, e.g.@returns {Node}
.