Adding TS types to d2/arrays/bisect.ts

  - TODO: Need to add support in RefScript to:

    f :: ` arrow type `

    f.length = { number | v = `the number of arguments of f` }
Adding refinments to d3/src-ts/arrays/ascending.ts