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

Use express RequestHandler type #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pumbas600
Copy link

@pumbas600 pumbas600 commented Feb 23, 2023

Replaces the current Middleware and Route types with the built-in express one. This allows you to include a next parameter in your handlers while still typing it using Resource.

I also made some small changes to the error logging in the extract method to make sure it is being typed correctly.

Sidenote
I was having issues running the tests because it couldn't find the module ./reports/base. Adding --reporter classic to the script seemed to fix it locally. Relevant: tapjs/tapjs#624

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant