diff --git a/index.d.ts b/index.d.mts similarity index 100% rename from index.d.ts rename to index.d.mts diff --git a/package.json b/package.json index 665d8ec..de2c0ad 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,10 @@ "node": ">=16.6.0" }, "type": "commonjs", - "types": "./index.d.ts", + "types": "./index.d.mts", "exports": { ".": { - "types": "./index.d.ts", + "types": "./index.d.mts", "import": "./index.mjs", "require": "./dist/index.js" } @@ -27,7 +27,7 @@ "files": [ "dist", "index.mjs", - "index.d.ts" + "index.d.mts" ], "scripts": { "build": "tsup src/index.ts --format cjs --out-dir dist",