typeorm
typeorm copied to clipboard
fix: export QueryEvent before/after types
Description of change
This PR exports the types added in PR #10234 - QueryEvent (AfterQueryEvent, BeforeQueryEvent) so that one can build subscribers that use the before.. and afterQuery listeners.
Also the JS doc for the AfterQueryEvent is updated to clarify that execution time is in milliseconds to remove guess-work.
Pull-Request Checklist
- [x] Code is up-to-date with the
masterbranch - [x]
npm run formatto apply prettier formatting (this changed other unrelated files which have not been committed) - [x]
npm run testpasses with this change - [ ] This pull request links relevant issues as
Fixes #0000 - [ ] There are new or updated unit tests validating the change
- [x] Documentation has been updated to reflect this change
- [x] The new commits follow conventions explained in CONTRIBUTING.md