1.1.3 • Published 5 years ago

dts-helper v1.1.3

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

TypeScript 类型声明工具

API

const dts = require('dts-helper');

dts.emit(opts).catch(err => {
  // TODO
});

CLI

Usage: dts [options]

Options:
  -V, --version                  output the version number
  -d, --out-dir <directory>      emit output declaration file to the specified directory
  -f, --out-file [file]          concatenate and emit output to single file. (default: false)
  -m, --module [prefix]          specifies the module prefix name. (default: true)
  -E, --noEmit                   do not emit output (default: false)
  -e, --export-equals            export Equals (default: false)
  -C, --no-comment               do not emit comments to output
  -V, --verbose                  display detailed log information (default: false)
  -i, --include <items>          specifies the file to include (default: [])
  -e, --exclude <items>          specifies the file to exclude (default: [])
  -L, --line-break <CRLF|CR|LF>  sets the paragraph newline character
  -I, --indent <TAB|SPACE>[NUM]  sets the line indent,eg TAB(or TAB1)
  -h, --help                     display help for command

CHANGE LOG

  • :pencil2: Fixing Missing declaration file
1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago