gulp-typespace
Typespace plugin for Gulp.
Usage
All parameters supported by Typespace can be passed as a settings object.
Required arguments/flags:
namespace
- name of the root namespace
Optional arguments/flags:
config
- input tsconfig.json file path to load files fromfiles
- paths of files to includeoutFile
- output .ts file pathpathPrefix
- directory root to ignore from module pathsroot
- root path to search for files under
const typespace = ; gulp;
You can also pass a callback to be executed instead of creating a stream. It will receive the generated text as a string.
const typespace = ; gulp;