Append custom d.ts files into one d.ts file bundled by dts-bundle.
- Install from npm:
npm install dts-bundle-append-
Run
dts-bundle. -
After
d.tsfile bundled, rundts-bundle-append.
NodeJS: >= 6.0.0
Default configuration are taken from a dts-bundle.json file.
Also, you can specify a custom config file (see #command-line).
| Argument | Type | Description |
|---|---|---|
| append | `string | Array` |
*All other configuration options available from dts-bundle (read more TypeStrong/dts-bundle#options).
{
"name": "module-name",
"main": "dist/main.d.ts",
"out": "module-name.d.ts",
"baseDir": "dist",
"append": [
"src/global.d.ts"
]
}Usage: dts-bundle-append [options]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--append Append files to global [string]
--out dts-bundle bundled out file [string]
--configJson dts-bundle configuration file [string] [default: "dts-bundle.json"]
--baseDir dts-bundle base directory [string]