You don't need a type-annotation here. It is automatically types to Uint8Array by the new call.