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` }
ii