README
@coderesque/task-ts-declarations
Task for generating TypeScript type declarations
Install
yarn add --exact @coderesque/task-ts-declarations
Usage
Add the task to a task runner.
import taskTsDeclarations from '@coderesque/task-ts-declarations';
import TaskRunner from '@coderesque/task-runner';
const runner = new TaskRunner('build-scripts');
runner.add('ts-declarations', taskTsDeclarations());
This will add the compile TypeScript task to the build scripts.
> build-scripts ts-declarations
Note
This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.
License
MIT