bun-plugin-dtsx 0.21.16 → 0.21.17
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 +16 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { BunPlugin } from 'bun';
|
|
2
|
+
import type { DtsGenerationOption } from '@stacksjs/dtsx';
|
|
3
|
+
export type { DtsGenerationOption };
|
|
4
|
+
/**
|
|
5
|
+
* Creates a Bun plugin for generating TypeScript declaration files
|
|
6
|
+
* @param options - Configuration options for DTS generation
|
|
7
|
+
* @returns BunPlugin instance
|
|
8
|
+
*/
|
|
9
|
+
export declare function dts(options?: PluginConfig): BunPlugin;
|
|
10
|
+
/**
|
|
11
|
+
* Configuration interface extending DtsGenerationOption
|
|
12
|
+
*/
|
|
13
|
+
declare interface PluginConfig extends DtsGenerationOption {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
export default dts;
|
package/package.json
CHANGED