diff --git a/package.json b/package.json index ad2de6c..bddb6be 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,10 @@ "url": "https://sindresorhus.com" }, "type": "module", - "exports": "./source/index.js", + "exports": { + "types": "./source/index.d.ts", + "default": "./source/index.js" + }, "engines": { "node": ">=16" }, @@ -40,11 +43,11 @@ "concat" ], "devDependencies": { - "@types/node": "^20.2.4", - "ava": "^5.3.0", + "@types/node": "^20.5.0", + "ava": "^5.3.1", "precise-now": "^2.0.0", "stream-json": "^1.8.0", "tsd": "^0.28.1", - "xo": "^0.54.2" + "xo": "^0.56.0" } }