@bunup/dts 0.14.22 → 0.14.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -2
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -45,8 +45,13 @@ type GenerateDtsOptions = {
45
45
  */
46
46
  minify?: boolean;
47
47
  /**
48
- * Whether to use typescript native compiler for generating declaration files.
49
- * When enabled, you won't need explicit type annotations for exports (which are required by default when using isolated declarations).
48
+ * When using isolated declarations, exports typically require explicit type annotations.
49
+ *
50
+ * When this option is enabled, TypeScript's compiler is used to generate declaration files,
51
+ * which will automatically infer the types of exports, eliminating the need for explicit type annotations.
52
+ *
53
+ * This option is enabled by default if `isolatedDeclarations` is disabled or not specified
54
+ * in your tsconfig.json's compilerOptions.
50
55
  */
51
56
  inferTypes?: boolean;
52
57
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunup/dts",
3
- "version": "0.14.22",
3
+ "version": "0.14.23",
4
4
  "description": "An extremely fast TypeScript declaration bundler built on Bun's native bundler.",
5
5
  "homepage": "https://github.com/bunup/dts#readme",
6
6
  "bugs": {
@@ -26,7 +26,7 @@
26
26
  "ts-import-resolver": "^0.1.23"
27
27
  },
28
28
  "scripts": {
29
- "build": "bunup",
29
+ "build": "bunup --exports --unused",
30
30
  "dev": "bunup --watch",
31
31
  "postinstall": "bun simple-git-hooks",
32
32
  "lint": "biome check .",