trezm/type-doc

Allow haskell style type annotations for functions.

trezm opened this issue · 0 comments

trezm commented

For function types, we should allow

/* add : number -> number -> number */
function add(a, b) {
  return a + b;
}