@bunup/dts 0.14.25 → 0.14.26
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.
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -52,9 +52,13 @@ type GenerateDtsOptions = {
|
|
|
52
52
|
*/
|
|
53
53
|
inferTypes?: boolean;
|
|
54
54
|
/**
|
|
55
|
-
* Whether to use TypeScript's native compiler (tsgo), 10x faster than the traditional TypeScript compiler (tsc).
|
|
55
|
+
* Whether to use TypeScript's native compiler ([tsgo](https://devblogs.microsoft.com/typescript/typescript-native-port/)), 10x faster than the traditional TypeScript compiler (tsc).
|
|
56
56
|
*
|
|
57
57
|
* This is only applicable if you have the `dts.inferTypes` option enabled. Without this enabled, bunup uses TypeScript's isolated declarations mode by default, so any TypeScript compiler is not relevant in this case.
|
|
58
|
+
*
|
|
59
|
+
* Note: This option is experimental but much stable for declarations generation. Expected to be stable soon.
|
|
60
|
+
*
|
|
61
|
+
* Ensure `@typescript/native-preview` is installed as dev dependency: `bun add --dev @typescript/native-preview`
|
|
58
62
|
*/
|
|
59
63
|
tsgo?: boolean;
|
|
60
64
|
};
|