1.1.0 • Published 9 years ago

@gongt/dts-concat v1.1.0

Weekly downloads
-
License
WTFPL
Repository
github
Last release
9 years ago

typescript module declaration linker

this program parse .d.ts files generated by tsc --declaration=true

to a single index.d.ts (must save by yourself)

if your module's consumer are using typescript.

with this file, they can install your module by npm install your-module, and use it with import {xxx} from "your-module"; without any other configure.

install

npm install -g @gongt/dts-concat

usage

generate file from a generated declaration file:

dts-concat "your-module-name" "./dist/server.d.ts" > ./index.d.ts

read module name & main script from package.json from current dir:

dts-concat . > ./index.d.ts
1.1.0

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.1

9 years ago