diff --git a/package.json b/package.json index ee8e23864..0502b0be3 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,9 @@ "devDependencies": { "@sindresorhus/tsconfig": "~0.7.0", "expect-type": "^0.15.0", - "tsd": "^0.28.0", - "typescript": "^5.0.2", - "xo": "^0.53.1" + "tsd": "^0.28.1", + "typescript": "^5.0.4", + "xo": "^0.54.2" }, "peerDependencies": { "typescript": ">=4.7.0" @@ -50,7 +50,8 @@ "@typescript-eslint/naming-convention": "off", "import/extensions": "off", "@typescript-eslint/no-redeclare": "off", - "@typescript-eslint/no-confusing-void-expression": "off" + "@typescript-eslint/no-confusing-void-expression": "off", + "@typescript-eslint/no-unsafe-argument": "off" } }, "tsd": { diff --git a/test-d/internal.ts b/test-d/internal.ts index b98e9e0a3..5f3b7325f 100644 --- a/test-d/internal.ts +++ b/test-d/internal.ts @@ -33,6 +33,7 @@ expectType>(false); expectType>(false); expectType>(false); +/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */ expectType>(true); expectType>(true); expectType>(true); @@ -40,6 +41,7 @@ expectType>(true); expectType>(false); expectType>(false); expectType>(false); +/* eslint-enable @typescript-eslint/no-duplicate-type-constituents */ // https://www.typescriptlang.org/docs/handbook/type-compatibility.html expectType>(true);