Fix #788: Add typings and compiler support for TypedArrays

either align all `=>` or none (also in the other invocations of `tests` below)