diff --git a/package.json b/package.json index 35800bd31..d3b53d62a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "types": "./index.d.ts", "engines": { - "node": ">=14.16" + "node": ">=16" }, "scripts": { "test": "xo && tsd && tsc && node script/test/source-files-extension.js" @@ -38,7 +38,7 @@ "expect-type": "^0.15.0", "tsd": "^0.28.1", "typescript": "^5.0.4", - "xo": "^0.54.2" + "xo": "^0.55.0" }, "xo": { "rules": { diff --git a/readme.md b/readme.md index ea4949fd9..33ad622e2 100644 --- a/readme.md +++ b/readme.md @@ -64,7 +64,7 @@ PR welcome for additional commonly needed types and docs improvements. Read the npm install type-fest ``` -*Requires TypeScript >=4.7* +*Requires TypeScript >=5.1* ## Usage diff --git a/source/package-json.d.ts b/source/package-json.d.ts index 7d2b8097c..9c310f1f2 100644 --- a/source/package-json.d.ts +++ b/source/package-json.d.ts @@ -505,7 +505,7 @@ declare namespace PackageJson { Engines that this package runs on. */ engines?: { - [EngineName in 'npm' | 'node' | string]?: string; // eslint-disable-line @typescript-eslint/no-redundant-type-constituents + [EngineName in 'npm' | 'node' | string]?: string; }; /**