@guoyunhe/bundle-dts
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@guoyunhe/bundle-dts

Install

npm i @guoyunhe/bundle-dts

Usage

import { bundleDts } from '@guoyunhe/bundle-dts';

bundleDts();

By default, it scans src and bundles src/index.ts into dist/index.d.ts.

Options

entry: string

Default: src/index.ts.

The entry point TypeScript file.

bundleDts({ entry: 'src/main.ts' });

outFile: string

Default: dist/index.d.ts

The path of output declaration file.

bundleDts({ outFile: 'out/main.d.ts' });

Package Sidebar

Install

npm i @guoyunhe/bundle-dts

Weekly Downloads

1

Version

1.1.1

License

GPL-3.0

Unpacked Size

45 kB

Total Files

7

Last publish

Collaborators

  • guoyunhe