Task for generating TypeScript type declarations
yarn add @billogram/task-ts-declarations
Add the task to a task runner.
import taskTsDeclarations from '@billogram/task-ts-declarations'; import TaskRunner from '@billogram/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
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.