Meta tweaks

This commit is contained in:
Sindre Sorhus 2018-12-13 00:58:02 +01:00
parent 9df6f4ebe9
commit 2ee148f5a1
2 changed files with 3 additions and 2 deletions

View file

@ -681,8 +681,9 @@ test('is.class', t => {
});
test('is.typedArray', t => {
// Typescript currently does not support empty constructors for these
// TypeScript currently does not support empty constructors for these
// See https://github.com/Microsoft/TypeScript/issues/19680
// TODO: Remove the `0` when targeting `es2017` (Node.js 8), in other places of this file too.
const typedArrays = [
new Int8Array(0),
new Uint8Array(0),