From 4c72525379f1e1e4a513d5f5470853f2a33a28d9 Mon Sep 17 00:00:00 2001 From: "Amagi:DDmxh" Date: Tue, 18 Feb 2025 20:02:47 +0800 Subject: [PATCH] fix wrong typing output path --- api-extractor.json | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-extractor.json b/api-extractor.json index 181f2b6..4104dd4 100644 --- a/api-extractor.json +++ b/api-extractor.json @@ -255,7 +255,7 @@ * SUPPORTED TOKENS: , , * DEFAULT VALUE: "/dist/.d.ts" */ - "untrimmedFilePath": "/dist/types/.d.ts" + "untrimmedFilePath": "/dist/types/index.d.ts" /** * Specifies the output path for a .d.ts rollup file to be generated with trimming for an "alpha" release. diff --git a/package.json b/package.json index 0e3e4d7..2920875 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "type": "module", "module": "dist/es/index.js", "main": "dist/cjs/index.js", - "types": "dist/types/height-app-api.d.ts", + "types": "dist/types/index.d.ts", "exports": { "./package.json": "./package.json", ".": { @@ -37,7 +37,7 @@ "dist/es/height-app-api.mjs.map", "dist/es/index.js", "dist/es/index.js.map", - "dist/types/height-app-api.d.ts" + "dist/types/index.d.ts" ], "devDependencies": { "@hyrious/esbuild-plugin-commonjs": "^0.2.2", @@ -60,4 +60,4 @@ "dependencies": { "cross-fetch": "^3.1.5" } -} \ No newline at end of file +}