Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update type definitions to match documented API #870

merged 1 commit into from Oct 28, 2018


Copy link

aimee-gm commented Oct 28, 2018

Updates the index.d.ts file to include additional functionality described in the documented API


  • context to before and after operations (as OperationFlags) and to the respective *Each functions
  • context, onUncaughtException and onUnhandledRejection to the test function Flags


  • TestFunction no longer extends Operation as the types are incompatible
  • Commas to semi-colons in the type definition file to match common Typescript convention
@geek geek added this to the 17.0.3 milestone Oct 28, 2018
@geek geek added the bug label Oct 28, 2018
@geek geek self-assigned this Oct 28, 2018
@geek geek merged commit aa10f49 into hapijs:master Oct 28, 2018
1 of 2 checks passed
1 of 2 checks passed
Node Security nsp check
continuous-integration/travis-ci/pr The Travis CI build passed
@aimee-gm aimee-gm deleted the aimee-gm:typings branch Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.