Skip to content

2018-04-09, Version 1.2.0

Latest
Compare
Choose a tag to compare
@brickyang brickyang released this 10 Apr 04:01
· 4 commits to master since this release

Notable changes

  • index.d.ts: remove interface Application of module egg; remove exported interfaces from @types/bull

Because of Egg's singleton mechanism, app.bull actually has two types: Bull.Queue or { get: (name: string) => Bull.Queue}. Declaring a union types will bring unnecessary complexity, so it's better to declare it in user's own index.d.ts.