diff --git a/index.js b/index.js index e50a009..17ca350 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,6 @@ module.exports = function deprecations(packageName, ...morePackageNames) { throw new TypeError('at least 1 package name is required'); } - // @ts-expect-error https://github.com/microsoft/TypeScript/issues/57164 if (!every(arguments, isString)) { throw new TypeError('module names must all be strings'); } diff --git a/package.json b/package.json index 1027a36..2864138 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ }, "devDependencies": { "@ljharb/eslint-config": "^21.1.0", - "@types/array.prototype.every": "^1.1.0", + "@types/array.prototype.every": "^1.1.1", "@types/object.entries": "^1.1.0", "@types/object.fromentries": "^2.0.4", "@types/pacote": "^11.1.8", @@ -62,7 +62,7 @@ "nyc": "^15.1.0", "safe-publish-latest": "^2.0.0", "tape": "^5.7.4", - "typescript": "^5.4.0-dev.20240127" + "typescript": "next" }, "engines": { "node": "^18.17.0 || >=20.5.0"