Fix #788: Add typings and compiler support for TypedArrays

So? The rule that the primary constructor of `js.Object`s must have 0 argument was rejected a long time ago.