fix typed array detection
2.1.12