Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
TypeScript allow declaration merging to extends the types of packages.
It allow the ability to create plugins and extends it's original types.
For example, I would like to add a property foo to the job.
Describe the bug
Node.js version: *
OS version: *
Description: https://github.com/breejs/bree/commit/8482d166d0ed2c57e9eed21dd49fefd8370ce90c is trying to fix the lint error, but it produce a breaking change to the TypeScript user. It changes all
interface
totype
which are not allow to do declaration merging.Actual behavior
Not able to do so.
Expected behavior
Allow declaration merging.
Code to reproduce
TypeScript allow declaration merging to extends the types of packages. It allow the ability to create plugins and extends it's original types. For example, I would like to add a property
foo
to the job.Checklist