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

@ -52,7 +52,7 @@
"@types/node": "^10.12.10",
"@types/tempy": "^0.2.0",
"@types/zen-observable": "^0.8.0",
"ava": "*",
"ava": "^0.25.0",
"del-cli": "^1.1.0",
"jsdom": "^11.6.2",
"rxjs": "^6.3.3",

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),