breejs / bree

Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
https://jobscheduler.net
MIT License
3.01k stars 78 forks source link

[bug] update typescript bindings to include extend method for plugins #138

Closed paularah closed 2 years ago

paularah commented 2 years ago

The extend method for the Bree class isn't included in the typescript definitions, this prevents extending Bree with plugins like the ts-worker plugin.

shadowgate15 commented 2 years ago

Will hopefully have a PR for DefinitelyTyped later today!

paularah commented 2 years ago

Thank you👍🏿

paularah commented 2 years ago

Halo @shadowgate15, any updates on this?

shadowgate15 commented 2 years ago

@paularah I'm still waiting on DefinitelyTyped's maintainers to approve our PR

shadowgate15 commented 2 years ago

if you update to bree@7.1.0 typescript bindings are now bundled with package!